You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forrest Kim edited this page Mar 21, 2024
·
3 revisions
These are the required parameters necessary for the config.sh file on Dev and Prod in order to properly run and connect to the necessary resources.
Note: Django will exclude certain keywords from being seen even if DEBUG=TRUE. These keywords are (API, KEY, PASS, SECRET, SIGNATURE, and TOKEN)
#!/bin/bash
# Set up secret key for OAuth
export GOOGLE_SECRET_KEY=
export GLOBUS_SECRET_KEY=
# set up DB
export DB_NAME=
export DB_URI_SECRET=
# Set up the production server https settings
export SECURE_SSL_REDIRECT=
export ACCOUNT_DEFAULT_HTTP_PROTOCOL=
export S3_STATIC_FILES=
export S3_FILE_DOWNLOADS=
export AMPLICON_ENV=
export AMPLICON_ENV_PORT=
export CAPER_ROOT=
export ACCOUNT_AUTHENTICATED_LOGIN_REDIRECTS=
export EMAIL_HOST_USER_SECRET=
export EMAIL_HOST_PASSWORD_SECRET=
export SITE_URL=
# Set up mailjet email settings
export MAILJET_API=
export MAILJET_SECRETKEY=
export MAILJET_EMAIL=
# Django admin login
export ADMIN_USER_SECRET=
export ADMIN_PASSWORD_SECRET=
# in case this tries to start again for some reason
#sudo ufw disable