Merge pull request #143 from dod-ccpo/run-migrate-on-uwsgi-startup

Add migrate db before server startup
This commit is contained in:
Devon
2018-08-08 13:30:03 -04:00
committed by GitHub

View File

@@ -4,5 +4,8 @@
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
# Before starting the server, apply any pending migrations to the DB
migrate_db
# Launch UWSGI
run_command "uwsgi --ini ${UWSGI_CONFIG_FULLPATH}"