Fix links in documentation (#271)

This commit is contained in:
Pranav Raj S 2019-11-24 01:42:58 +05:30 committed by Sony Mathew
parent da9ac8b26d
commit 645c77c3c1
2 changed files with 6 additions and 5 deletions

View file

@ -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
```
```

View file

@ -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.