diff --git a/README.md b/README.md index f8c5429a..f9cf66fd 100644 --- a/README.md +++ b/README.md @@ -77,13 +77,9 @@ virtualenvs for you when you enter and leave the directory. To start the app locally in the foreground and watch for changes: - script/dev_server + script/server -To watch for changes to any js/css assets: - - yarn watch - -After running `script/dev_server`, the application is available at +After running `script/server`, the application is available at [`http://localhost:8000`](http://localhost:8000). diff --git a/script/dev_server b/script/dev_server deleted file mode 100755 index 1f5f75a1..00000000 --- a/script/dev_server +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -# script/dev_server: Launch a local dev version of the server in the background - -# -# WIP -# - -source "$(dirname "${0}")"/../script/include/global_header.inc.sh - -# Create a function to run after a trap is triggered -reap() { - kill -s SIGTERM -- "-$$" - sleep 0.1 - exit -} - -# 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