Chatwoot/app
Sony Mathew da9ac8b26d 🔥Docker and environment variables cleanup (#270)
* Added dotenv-rails gem to manage environment variables

* Added dotenv-rails gem to manage environment variables
* Removed figaro which was used earlier for this purpose

* Standardized variable names

* Changed all env variables to be upper case. This included changes in files referencing env variables.
* Added example env file with all variables set to empty value
* Removed the earlier setup of copying application.yml and database.yml and the scripts and documentation associated to this

* Docker setup

* Added docker file for building the docker images
* Added entrypoint.sh script which is referenced inside the Docker image
* Cloned the Procfile for development using docker which has slight change compared to regular procfile
* Added the docker-compose.yml which has 3 service's configuration, postgres, redis and chatwoot server and a mounted volume for postgres

* Added docker related info to documentation

* Added the docker setup info in the documentation
* Added info for using`rbenv` instead of rvm for managing ruby versions
* Updated the documentation for environment variables to have one about `dotenv-rails` gem and removed the documentation about the old copy paste method used by figaro

* Changing the postgres database, username and password as environment variables

* Removed database.yml from gitignore
* Made the postgres databse, username and password as environemnt variables
* Added this in documentation

* Added a quick setup page

* Added quick setup page
* Removed the docs from README and added link to the docs in website
* Removed the figaro related things from circle.ci config

* Adding external volume for redis in docker compose

* Added instructions for adding the redis volume in docs
2019-11-24 01:27:39 +05:30
..
assets [Enhancement] Update vue-chartjs to fix production build (#182) 2019-10-27 10:24:19 +05:30
bot 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
builders Refactor Conversation, Message API calls, store 2019-10-27 19:01:59 +05:30
channels Replace pusher with action cable (#178) 2019-10-25 01:37:01 +05:30
controllers 🔥Docker and environment variables cleanup (#270) 2019-11-24 01:27:39 +05:30
dispatchers Replace pusher with action cable (#178) 2019-10-25 01:37:01 +05:30
finders [Feature] Website live chat (#187) 2019-10-29 12:50:54 +05:30
helpers 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
identities Initial Commit 2019-08-14 15:18:44 +05:30
javascript [Enhancement] Format messages in widget (#268) 2019-11-24 00:29:55 +05:30
jobs Initial Commit 2019-08-14 15:18:44 +05:30
listeners [Feature] Website live chat (#187) 2019-10-29 12:50:54 +05:30
mailers Fix url in emails, add frontendURL helper (#19) 2019-08-25 19:59:28 +05:30
models [Bug] Remove toggle_typing API call for channels except Facebook (#211) 2019-11-17 14:15:05 +05:30
policies 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
presenters/conversations Change sender_id to contact_id in conversations (#167) 2019-10-21 00:40:18 +05:30
services Contact model changes (#184) 2019-10-27 13:14:36 +05:30
uploaders 🚨Fix Rubocop lint errors 2019-10-20 14:17:26 +05:30
views 🔥Docker and environment variables cleanup (#270) 2019-11-24 01:27:39 +05:30
test-matchers.js Initial testing with jest (#133) 2019-10-15 00:18:46 +05:30