diff --git a/fbr/settings.py b/fbr/settings.py index ae73110..5796b5f 100644 --- a/fbr/settings.py +++ b/fbr/settings.py @@ -60,7 +60,7 @@ "app", "app.core", "app.search", - "app.cache.apps.CacheConfig", + "app.cache", "celery_worker", ] diff --git a/paas_entrypoint.sh b/paas_entrypoint.sh index 4b95160..3bfeb49 100644 --- a/paas_entrypoint.sh +++ b/paas_entrypoint.sh @@ -2,6 +2,7 @@ set -ex # Prints each command as it runs. If a command fails, it will halt at that point -cd fbr || exit 1 poetry run python manage.py migrate --noinput -poetry run gunicorn config.wsgi --bind "0.0.0.0:$PORT" + +# Start the server +poetry run gunicorn fbr.wsgi:application --bind "0.0.0.0:$PORT"