jom / run.sh
radames's picture
missing rewrite
96ce0e1
raw
history blame
212 Bytes
#!/bin/bash
service nginx start
python -m http.server --directory ./static --bind 0.0.0.0 8000 & echo $! > http_server.pid
uvicorn "app:app" --port 7860 --host 0.0.0.0
pkill -F http_server.pid
rm http_server.pid