Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
Clone04/ServerWebsoketTest
Clone04
/
jom
like
0
Paused
App
Files
Files
Community
cb94bb2
jom
/
run.sh
radames
missing rewrite
96ce0e1
over 1 year ago
raw
Copy download link
history
blame
Safe
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