Browse Source

Address renamed atheneum application

merge-requests/1/head
Drew Short 6 years ago
parent
commit
a682a13cac
  1. 2
      server/.env
  2. 4
      server/entrypoint.sh

2
server/.env

@ -1 +1 @@
FLASK_APP=atheneum
FLASK_APP=atheneum:atheneum

4
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
gunicorn -b 0.0.0.0:8080 atheneum:atheneum
Loading…
Cancel
Save