Skip to content

Commit

Permalink
Merge branch 'master' into bug/handle_empty_org_header
Browse files Browse the repository at this point in the history
  • Loading branch information
deepansh96 committed May 7, 2021
2 parents 4dad52c + 844f0ca commit f421bca
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ CMS_TOKEN=
SUPERUSER_EMAIL=
SUPERUSER_PASSWORD=

DEFAULT_TENANT_NAME=
DEFAULT_TENANT_SHORTCODE=
DEFAULT_TENANT_DOMAIN=
DEFAULT_TENANT_NAME=Plio
DEFAULT_TENANT_SHORTCODE=plio
DEFAULT_TENANT_DOMAIN=0.0.0.0
19 changes: 19 additions & 0 deletions docs/ENV.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,22 @@ Port of your Redis instance
### Plio CMS
#### `CMS_TOKEN`
Secret token for Avanti's [Content Management System](http://cms.peerlearning.com) - if you plan to use it, you'll need to ask for access from the admins.

### Superuser
#### `SUPERUSER_EMAIL`
Email for the superuser created during installation.

#### `SUPERUSER_PASSWORD`
Password for the superuser created during installation.

### Default Tenant
Plio supports multi-tenancy. For the installation to be complete, you need a default tenant corresponding to the `public` schema. You can set the following variables for the default tenant.

#### `DEFAULT_TENANT_NAME`
Name for the default tenant (e.g. Plio)

#### `DEFAULT_TENANT_SHORTCODE`
Shortcode for the default tenant (e.g. plio)

#### `DEFAULT_TENANT_DOMAIN`
The domain for the default tenant (e.g. 0.0.0.0 locally, plio.in on production)

0 comments on commit f421bca

Please sign in to comment.