Remove the scriptz submodule and hard-commit the files.

The submodule is a leftover from when this project was intended to work
as a series of microservices. It was meant to provide common
functionality to the builds for every microservice. That's no longer the
case, and the submodule is a pain-point both in on-boarding new
developers and running the Docker build.
This commit is contained in:
dandds
2019-07-12 11:52:54 -04:00
parent ef8fd2fa41
commit beabd2ce72
19 changed files with 534 additions and 5 deletions

22
script/include/run_update Normal file
View File

@@ -0,0 +1,22 @@
# update: Bring an existing application up-to-date
#
# Load update functions
source ./script/include/update_functions.inc.sh
## Set option defaults
# If MIGRATE_DB is not set, set it to "false"
if [ -z "${MIGRATE_DB+is_set}" ]; then
MIGRATE_DB="false"
fi
## Main
# Update dependencies
source ./script/bootstrap
# Update database schema
if [ "${MIGRATE_DB}" = "true" ]; then
migrate_db
fi
seed_db