2af848d 85caf0a 96ce0e1 2af848d
1
2
3
4
5
6
7
#!/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