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:
20
script/include/run_dev_server
Normal file
20
script/include/run_dev_server
Normal file
@@ -0,0 +1,20 @@
|
||||
# run_dev_server: Run a dev version of the app server in the background
|
||||
#
|
||||
|
||||
# Load dev_server functions
|
||||
source ./script/include/dev_server_functions.inc.sh
|
||||
|
||||
# Register trapping of SIGTERM and SIGINT
|
||||
trap reap SIGTERM SIGINT
|
||||
|
||||
# Display the script PID, which will also be the process group ID for all
|
||||
# child processes
|
||||
echo "Process Group: $$"
|
||||
|
||||
# Set server launch related environment variables
|
||||
DEBUG=1
|
||||
LAUNCH_ARGS="$*"
|
||||
|
||||
# Launch the app
|
||||
source ./script/server &
|
||||
wait
|
Reference in New Issue
Block a user