Files
adamantium/script/server
2023-01-27 22:55:09 +11:00

19 lines
465 B
Bash
Executable File

#!/bin/sh
# script/server: Launch the application and any extra required processes
# locally.
set -e
cd "$(dirname "$0")/.."
test -z "$HANAMI_ENV" && HANAMI_ENV='development'
if ! command -v overmind > /dev/null; then
echo "You must install Overmind to use this script. See:"
echo " . https://github.com/DarthSim/overmind#installation"
exit 1
fi
# Boot the app and any other necessary processes
exec env OVERMIND_PORT=5001 overmind start -f Procfile.dev