felicity-lims/backend/felicity_lims/felicity.sh
Aurthur Musendame 861e96d836 inital commit
2021-01-06 13:52:14 +02:00

9 lines
No EOL
251 B
Bash
Executable file

#! /usr/bin/env bash
# use bash for child process and source for same bash process
__dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# run migrate
source ${__dir}/migrate.sh "ini felicity $(date)"
# then start server
source ${__dir}/runserver.sh