Newer
Older
# See https://docs.djangoproject.com/en/dev/howto/deployment/checklist/
SECRET_KEY = '<CHANGE ME TO SOME RANDOM STRING ONCE IN PRODUCTION>'
# Comment this out to use a default, local SQLite database.
# (Not recommended for production use.)
DATABASES = {
'default': {
'ENGINE':'django.db.backends.postgresql_psycopg2',
'NAME': 'courseflow',
'USER': 'courseflow',
'PASSWORD': '<PASSWORD>',
'HOST': '127.0.0.1',
'PORT': '5432',
}
}
# SECURITY WARNING: don't run with debug turned on in production!
# Your course git repositories will be stored under this directory.
# Make sure it's writable by your web user.
#
# The default below makes them sit side-by-side with your courseflow checkout,
# which makes sense for development, but you probably want to change this
# in production.
#
# The 'course identifiers' you enter will be directory names below this root.
#GIT_ROOT = "/some/where"
GIT_ROOT = ".."
EMAIL_HOST = '127.0.0.1'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 25
EMAIL_USE_TLS = False
ROBOT_EMAIL_FROM = "Andreas Kloeckner <inform@tiker.net>"
TIME_ZONE = "America/Chicago"
# Uncomment one of these to choose the default sign-in method for students
STUDENT_SIGN_IN_VIEW = "course.auth.sign_in_by_email"
#STUDENT_SIGN_IN_VIEW = "course.auth.sign_in_by_sso" # not yet implemented