diff --git a/run.sh b/run.sh index 847d77d..37de210 100755 --- a/run.sh +++ b/run.sh @@ -1,6 +1,4 @@ export DJANGO_SETTINGS_MODULE=sensors.settings.production -export DJANGO_DEBUG=False -export DJANGO_SECRET_KEY=foo ./manage.py migrate ./collector.sh & gunicorn sensors.wsgi:application --bind 0.0.0.0:8000 --workers 4 diff --git a/sensors/settings/production.py b/sensors/settings/production.py index 3ab8295..8eed4f6 100644 --- a/sensors/settings/production.py +++ b/sensors/settings/production.py @@ -7,6 +7,7 @@ ALLOWED_HOSTS = [ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'development_key' +DEBUG = False DATABASES = { 'default': {