diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..01d371b --- /dev/null +++ b/run.sh @@ -0,0 +1 @@ +uvicorn main:app --host 0.0.0.0 --port 8080 diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..254ddad --- /dev/null +++ b/setup.sh @@ -0,0 +1,9 @@ +# exit when a command fails +set -e + +# init venv +python3 -m venv .venv +source .venv/bin/activate + +# install deps +pip install fastapi uvicorn[standard] websockets