Skip to content

Commit 1d4608c

Browse files
committed
ref(wsgi): move WSGI code to the api code path
1 parent e35171d commit 1d4608c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
WSGI config for deis project.
2+
WSGI config for Deis Workflow Controller project.
33
44
It exposes the WSGI callable as a module-level variable named ``application``.
55

rootfs/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ echo "Database Migrations:"
3030
sudo -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

3535
python /app/manage.py load_db_state_to_k8s
3636

rootfs/deis/settings/production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
ROOT_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

9292
INSTALLED_APPS = (
9393
'django.contrib.auth',

0 commit comments

Comments
 (0)