forked from mozilla/bedrock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env-dist
28 lines (24 loc) · 1.16 KB
/
.env-dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DEBUG=True
DEV=True
ALLOWED_HOSTS=*
SWITCH_NEWSLETTER_MAINTENANCE_MODE=False
CSP_DEFAULT_SRC=*.allizom.org
CONTENT_CARDS_URL=https://www-dev.allizom.org/media/
WAGTAIL_ENABLE_ADMIN=True
# By default, local dev builds store CMS-uploaded media on the local system. If
# you need to enable cloud storage for CMS media (likely only needed to debug or
# test that behaviour), you'll need service-account credentials which you
# must save locally in /path/to/bedrock/local-credentials/ (which is gitignored)
# Here's how to get those credentials:
# https://django-storages.readthedocs.io/en/latest/backends/gcloud.html
# GS_BUCKET_NAME="custom-media-bucket-name-here"
# GS_PROJECT_ID="meao-stevejalim-dev-sandbox"
# # export this before starting the django runserver:
# # GOOGLE_APPLICATION_CREDENTIALS="./local-credentials/name-of-credentials-file.json"
# Change to True if you want to use SSO locally, else you'll use username+password auth
USE_SSO_AUTH=False
# If USE_SSO_AUTH is True, you'll be using Mozilla OpenID Connect via Auth0
# Get from IAM creentials from an appropriate person within the org to set here
# in your .env
OIDC_RP_CLIENT_ID=setme
OIDC_RP_CLIENT_SECRET=setme