diff --git a/Procfile b/Procfile index 8790d42..9a08325 100644 --- a/Procfile +++ b/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 diff --git a/config/urls.py b/conductor/urls.py similarity index 100% rename from config/urls.py rename to conductor/urls.py diff --git a/config/wsgi.py b/conductor/wsgi.py similarity index 100% rename from config/wsgi.py rename to conductor/wsgi.py diff --git a/config/settings/base.py b/config/settings/base.py index d20fbc5..6826fa7 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -56,7 +56,7 @@ "waffle.middleware.WaffleMiddleware", ] -ROOT_URLCONF = "config.urls" +ROOT_URLCONF = "conductor.urls" TEMPLATES = [ { @@ -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 diff --git a/playbooks/roles/web/templates/conductor.conf.j2 b/playbooks/roles/web/templates/conductor.conf.j2 index af0ca99..5b7c219 100644 --- a/playbooks/roles/web/templates/conductor.conf.j2 +++ b/playbooks/roles/web/templates/conductor.conf.j2 @@ -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