Skip to content

Commit

Permalink
chore: Revert references to GlobalConfig (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnu-narayanan committed Jan 11, 2022
1 parent 772eced commit c7e82e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
18 changes: 8 additions & 10 deletions docs/self-hosted/configuration/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ path: "/docs/environment-variables"
title: "Environment Variables"
---

### Configure frontend URL (Domain)

Provide your chatwoot domain as frontend url.

```bash
FRONTEND_URL='https://your-chatwoot-domain.tld'
```


### Database configuration

Expand Down Expand Up @@ -103,14 +111,6 @@ SMTP_USERNAME=<Your SMTP username displayed under Settings -> SMTP & API info>
SMTP_PASSWORD=<Any valid API key, create an API key under Settings -> SMTP & API Info>
```
### Configure frontend URL
Provide the following value as frontend url
```bash
FRONTEND_URL='http://localhost:3000'
```
### Configure default language
```bash
Expand Down Expand Up @@ -215,5 +215,3 @@ By default, Chatwoot will not allow users to create an account[multi-tenancy] fr
```bash
ENABLE_ACCOUNT_SIGNUP=true
```
> **NOTE**: Right now, Chatwoot is trying to simplify this setup and have this configuration be done from the UI. If you are using a Chatwoot version latest than v1.22.1, set the `ENABLE_ACCOUNT_SIGNUP` variable in Chatwoot super admin panel under InstallationConfig. The url to access super_admin panel is `<your-chatwoot-domain.com>/super_admin`. If you were using an older version of Chatwoot, your existing environment variable setting would be automatically migrated to the InstallationConfig setting.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ FB_APP_SECRET=
FB_APP_ID=
```

> **NOTE**: Right now, Chatwoot is trying to simplify this setup and have this configuration be done from the UI. If you are using a Chatwoot version latest than v1.22.1, set the above FB credentials in Chatwoot super admin panel under InstallationConfig. The url to access super_admin panel is `<your-chatwoot-domain.com>/super_admin`. If you were using an older version of Chatwoot, your existing environment variable setting would be automatically migrated to the InstallationConfig setting.
### Configure the Facebook App

1. In the app settings, add your `Chatwoot installation domain` as your app domain.
Expand Down Expand Up @@ -100,4 +98,3 @@ Restart the Chatwoot local server. Your Chatwoot setup will be ready to receive
1. After finishing the set-up above, [create a Facebook inbox](/docs/product/channels/facebook) after logging in to your Chatwoot Installation.
2. Send a message to your page from Facebook.
3. Wait and confirm incoming requests to `/bot` endpoint in your ngrok screen.

0 comments on commit c7e82e4

Please sign in to comment.