diff --git a/server/.env b/server/.env index 62fbcfb..b8c30d7 100644 --- a/server/.env +++ b/server/.env @@ -1 +1 @@ -FLASK_APP=atheneum \ No newline at end of file +FLASK_APP=atheneum:atheneum \ No newline at end of file diff --git a/server/entrypoint.sh b/server/entrypoint.sh index 033507e..6629f74 100755 --- a/server/entrypoint.sh +++ b/server/entrypoint.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash # Migrate the Database -FLASK_APP=atheneum:app flask db upgrade +FLASK_APP=atheneum:atheneum flask db upgrade # Make sure an administrator is registered python manage.py user register-admin # Start the application -gunicorn -b 0.0.0.0:8080 atheneum:app \ No newline at end of file +gunicorn -b 0.0.0.0:8080 atheneum:atheneum \ No newline at end of file