Add setup and run files

This commit is contained in:
Joey Yakimowich-Payne 2022-09-17 07:50:29 -06:00
commit e5efffb06a
2 changed files with 10 additions and 0 deletions

1
run.sh Executable file
View file

@ -0,0 +1 @@
uvicorn main:app --host 0.0.0.0 --port 8080

9
setup.sh Executable file
View file

@ -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