Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Environment Variables

Ben C edited this page Nov 11, 2021 · 7 revisions

This page outlines what each environment variable is used for in production.

Name Description Choices Default
DEV_STAGE The current stage of development Dev, Prod, GH-ACTIONS Dev
PRODUCTION_HOST The host name to use in the production environment N/A localhost
SECRET_KEY Key to use in production as the Django secret key generator insecure key
STATIC_DIR A path to the directory to collect static files to N/A ./collected-static
EMAIL_HOST The email server host we're connecting to N/A N/A
EMAIL_USER The email we'll use to send notifications, this should be the full email address N/A N/A
EMAIL_PASS The password to use for the email N/A N/A
EMAIL_DOMAIN The domain to use when generating student emails N/A example.com
EMAIL_ADMIN_DOMAIN The domain to use when generating instructor emails N/A admin.example.com
DB_HOST The host for the database we'll use Must be a MySQL database localhost
DB_USERNAME The username for the DB we'll use N/A N/A
DB_PASS The password for the DB we'll use N/A N/A
LDAP_URL The URL of the ActiveDirectory Server we want to use for auth N/A N/A
LDAP_DOMAIN The domain to use when logging users in N/A N/A
LDAP_BASE_CONTEXT The base context to use when searching for users N/A N/A

Clone this wiki locally