Merge pull request #143 from dod-ccpo/run-migrate-on-uwsgi-startup
Add migrate db before server startup
This commit is contained in:
commit
6b3d8b0775
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user