heroweb/herowebserver/run.sh

10 lines
250 B
Bash
Raw Permalink Normal View History

2024-09-14 03:59:42 +00:00
#!/bin/bash
set -e
SERVER_DIR="$(cd "$(dirname "$0")" && pwd)"
if [ -z "$BASE_DIR" ]; then
source ~/code/git.ourworld.tf/freeflowuniverse/heroweb/myenv.sh
fi
pushd $SERVER_DIR
2024-09-07 03:54:06 +00:00
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
2024-09-14 03:59:42 +00:00
popd > /dev/null