14 lines
284 B
Bash
Executable File
14 lines
284 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# script/uwsgi_server: Launch the UWSGI server
|
|
|
|
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
|
|
|
|
# Before starting the server, apply any pending migrations to the DB
|
|
migrate_db
|
|
|
|
seed_db
|
|
|
|
# Launch UWSGI
|
|
run_command "uwsgi --ini ${UWSGI_CONFIG_FULLPATH}"
|