|
@ -1,10 +1,10 @@ |
|
|
#!/usr/bin/env bash |
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
|
# Migrate the Database |
|
|
# Migrate the Database |
|
|
FLASK_APP=atheneum:app flask db upgrade |
|
|
|
|
|
|
|
|
FLASK_APP=atheneum:atheneum flask db upgrade |
|
|
|
|
|
|
|
|
# Make sure an administrator is registered |
|
|
# Make sure an administrator is registered |
|
|
python manage.py user register-admin |
|
|
python manage.py user register-admin |
|
|
|
|
|
|
|
|
# Start the application |
|
|
# Start the application |
|
|
gunicorn -b 0.0.0.0:8080 atheneum:app |
|
|
|
|
|
|
|
|
gunicorn -b 0.0.0.0:8080 atheneum:atheneum |