diff --git a/docs/development/project-setup/environment-variables.md b/docs/development/project-setup/environment-variables.md index f319dfdb7..deaefb08b 100644 --- a/docs/development/project-setup/environment-variables.md +++ b/docs/development/project-setup/environment-variables.md @@ -3,6 +3,7 @@ path: "/docs/environment-variables" title: "Environment Variables" --- + ### Database configuration Use the following values in database.yml which lives inside `config` directory. @@ -15,8 +16,6 @@ development: database: chatwoot_dev ``` -## Environment Variables - We use `dotenv-rails` gem to manage the environment variables. There is a file called `env.example` in the root directory of this project with all the environment variables set to empty value. You can set the correct values as per the following options. Once you set the values, you should rename the file to `.env` before you start the server. ### Configure FB Channel @@ -75,4 +74,4 @@ username and password. POSTGRES_DATABASE=chatwoot_production POSTGRES_USERNAME=admin POSTGRES_PASSWORD=password -``` \ No newline at end of file +``` diff --git a/docs/development/project-setup/errors.md b/docs/development/project-setup/errors.md index 55d34a8fd..d4e5b9e02 100644 --- a/docs/development/project-setup/errors.md +++ b/docs/development/project-setup/errors.md @@ -5,6 +5,8 @@ title: "Common Errors" ### Errors you might encounter while setting up the project -#### ArgumentError: invalid uri scheme +```bash +ArgumentError: invalid uri scheme +``` -This is an error thrown from redis connector. You might not have setup the redis environment variables properly. Please refer to dependencies section to install [redis-server](https://www.chatwoot.com/docs/ubuntu-installation-guide) and [Configure Redis URL](https://www.chatwoot.com/docs/environment-variables) in the environment-variables section. +This is an error thrown from redis connector. You might not have setup the redis environment variables properly. Please refer to dependencies section to install redis-server and [Configure Redis URL](https://www.chatwoot.com/docs/environment-variables) in the environment-variables section.