10 lines
250 B
Bash
Executable File
10 lines
250 B
Bash
Executable File
#!/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
|
|
uvicorn main:app --host 0.0.0.0 --port 8000 --reload
|
|
popd > /dev/null
|