From 858448b2d82b8c04aa72098b54ef64522b043fdd Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Fri, 31 Mar 2017 16:57:43 +0200 Subject: [PATCH] Add staging settings file --- SciPost_v1/settings/staging_1.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 SciPost_v1/settings/staging_1.py diff --git a/SciPost_v1/settings/staging_1.py b/SciPost_v1/settings/staging_1.py new file mode 100644 index 000000000..6650202fb --- /dev/null +++ b/SciPost_v1/settings/staging_1.py @@ -0,0 +1,15 @@ +# Used on staging server with IP http://146.185.181.185/ +# A Digital Ocean setup + +from .base import * + +# THE MAIN THING HERE +DEBUG = True +ALLOWED_HOSTS = ['146.185.181.185'] + +# Static and media +STATIC_ROOT = '/home/django/scipost_v1/static/' +MEDIA_ROOT = '/home/django/scipost_v1/media/' +WEBPACK_LOADER['DEFAULT']['BUNDLE_DIR_NAME'] = '/home/django/scipost_v1/static/bundles/' + +JOURNALS_DIR = 'journals_dir' -- GitLab