Add migrate db before server startup
Ensures a fresh deploy properly updates the DB before starting the server and accepting traffic
This commit is contained in:
parent
df773855d5
commit
b9e73b2f08
@ -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