-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
48 lines (37 loc) · 1.41 KB
/
.env.example
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# source env/Scripts/activate
# BACKEND SECRETS
export DB_HOST=127.0.0.1
export DB_NAME=''
export DB_USER=''
export DB_PASS="123456"
export SECRET_KEY='secretkey'
# export DB_PORT=5432
export ALLOWED_HOSTS_PROD='['https://xxxx-backend-staging.herokuapp.com', 'https://xxx-backend.herokuapp.com/', '127.0.0.1', 'localhost']'
export CORS_ORIGIN_WHITELIST='['https://xxxx-backend-staging.herokuapp.com', 'https://xxx-backend.herokuapp.com/', '127.0.0.1', 'localhost']'
export DJANGO_SETTINGS_MODULE='app.settings.prod'
# Social Auth Token Keys
# export SOCIAL_AUTH_FACEBOOK_KEY="" # App ID
# export SOCIAL_AUTH_FACEBOOK_SECRET="" # App Secret
# export FACEBOOK_ACCESS_TOKEN=""
# export FACEBOOK_ACCESS_TOKEN_SECRET=""
# export SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=""
# export SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=""
# export GOOGLE_ACCESS_TOKEN=""
# export GOOGLE_ACCESS_TOKEN_SECRET=""
# export SOCIAL_AUTH_TWITTER_KEY=""
# export SOCIAL_AUTH_TWITTER_SECRET=""
# export TWITTER_ACCESS_TOKEN=""
# export TWITTER_ACCESS_TOKEN_SECRET=""
# export EMAIL_HOST=""
# export EMAIL_HOST_USER=""
# export EMAIL_HOST_PASSWORD=""
# export EMAIL_PORT=
# FRONTEND SECRETS
# NODE_ENV=production
# REACT_APP_NODE_ENV=production
# REACT_APP_NODE_ENV=production
SESSION_SECRET=prodsecretkey
# REACT_APP_BACKEND_URL='url'
# REACT_APP_AUTH_URL='url'
# REACT_APP_GOOGLE_CLIENT_ID = 'id'
# REACT_APP_FACEBOOK_CLIENT_ID='id'