File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,12 +67,12 @@ test-style:
6767
6868test-unit :
6969 cd rootfs \
70- && coverage run manage.py test --settings=deis .testing --noinput registry api \
70+ && coverage run manage.py test --settings=api.settings .testing --noinput registry api \
7171 && coverage report -m
7272
7373test-unit-quick :
7474 cd rootfs \
75- && ./manage.py test --settings=deis .testing --noinput --parallel ${TEST_PROCS} --noinput registry api
75+ && ./manage.py test --settings=api.settings .testing --noinput --parallel ${TEST_PROCS} --noinput registry api
7676
7777test-functional :
7878 @echo " Implement functional tests in _tests directory"
Original file line number Diff line number Diff line change 8787ROOT_URLCONF = 'deis.urls'
8888
8989# Python dotted path to the WSGI application used by Django's runserver.
90- WSGI_APPLICATION = 'deis .wsgi.application'
90+ WSGI_APPLICATION = 'api .wsgi.application'
9191
9292INSTALLED_APPS = (
9393 'django.contrib.auth' ,
Original file line number Diff line number Diff line change 11import random
22import string
3- from deis .settings import * # noqa
3+ from api .settings . production import * # noqa
44
55# A boolean that turns on/off debug mode.
66# https://docs.djangoproject.com/en/1.9/ref/settings/#debug
Original file line number Diff line number Diff line change 11"""
2- WSGI config for deis project.
2+ WSGI config for Deis Workflow Controller project.
33
44It exposes the WSGI callable as a module-level variable named ``application``.
55
1111
1212from django .core .wsgi import get_wsgi_application
1313
14- os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "deis .settings" )
14+ os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "api .settings.production " )
1515
1616application = get_wsgi_application ()
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ echo "Database Migrations:"
3030sudo -E -u deis python /app/manage.py migrate --noinput
3131
3232# spawn a gunicorn server in the background
33- sudo -E -u deis gunicorn -c /app/deis/gunicorn/config.py deis .wsgi &
33+ sudo -E -u deis gunicorn -c /app/deis/gunicorn/config.py api .wsgi &
3434
3535python /app/manage.py load_db_state_to_k8s
3636
Original file line number Diff line number Diff line change 55
66
77if __name__ == "__main__" :
8- os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "deis .settings" )
8+ os .environ .setdefault ("DJANGO_SETTINGS_MODULE" , "api .settings.production " )
99
1010 from django .core .management import execute_from_command_line
1111
You can’t perform that action at this time.
0 commit comments