diff --git a/SciPost_v1/settings/staging_release.py b/SciPost_v1/settings/staging_release.py new file mode 100644 index 0000000000000000000000000000000000000000..08399d3bd352d3c427703c7f9e6f0e3bcab52d15 --- /dev/null +++ b/SciPost_v1/settings/staging_release.py @@ -0,0 +1,26 @@ +from .base import * + +# This file is meant for the server used for the release branches +# + +# THE MAIN THING HERE +DEBUG = False + +# Static and media +STATIC_URL = '/static/' +STATIC_ROOT = '/home/jdewit/webapps/scipost_static/' +MEDIA_URL = '/media/' +MEDIA_ROOT = '/home/jdewit/webapps/scipost_media/' +WEBPACK_LOADER = { + 'DEFAULT': { + 'CACHE': True, + 'BUNDLE_DIR_NAME': '/home/jdewit/webapps/scipost_static/bundles/', + } +} + +# Error reporting +ADMINS = MANAGERS = (('J. de Wit', 'jorrandewit@outlook.com'), ) + +# Cookies +SESSION_COOKIE_SECURE = True +CSRF_COOKIE_SECURE = True