Skip to content

Commit

Permalink
Move wsgi.py. and urls.py.
Browse files Browse the repository at this point in the history
For #374
  • Loading branch information
mblayman committed Apr 18, 2019
1 parent 8ba062b commit f1df77c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Procfile
@@ -1,3 +1,3 @@
web: gunicorn --config .gunicorn.py config.wsgi:application
web: gunicorn --config .gunicorn.py conductor.wsgi:application
worker: hupper -m celery worker --app conductor:celeryapp --loglevel info
frontend: make frontend
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions config/settings/base.py
Expand Up @@ -56,7 +56,7 @@
"waffle.middleware.WaffleMiddleware",
]

ROOT_URLCONF = "config.urls"
ROOT_URLCONF = "conductor.urls"

TEMPLATES = [
{
Expand All @@ -74,7 +74,7 @@
}
]

WSGI_APPLICATION = "config.wsgi.application"
WSGI_APPLICATION = "conductor.wsgi.application"

# Password validation
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/web/templates/conductor.conf.j2
Expand Up @@ -2,7 +2,7 @@
command=/usr/bin/uwsgi
--plugin python3
--socket /tmp/conductor-uwsgi.sock
--module config.wsgi:application
--module conductor.wsgi:application
--enable-threads
--single-interpreter
--master
Expand Down

0 comments on commit f1df77c

Please sign in to comment.