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
commit 6b3d8b0775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}"