Update run.sh
Browse files
run.sh
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
#!/bin/bash
|
2 |
-
|
3 |
service nginx start
|
4 |
python -m http.server --directory ./static --bind 0.0.0.0 8000 & echo $! > http_server.pid
|
5 |
uvicorn "app:app" --port 7860 --host 0.0.0.0
|
|
|
1 |
#!/bin/bash
|
2 |
+
python -m http.server 7860 & kill $!
|
3 |
service nginx start
|
4 |
python -m http.server --directory ./static --bind 0.0.0.0 8000 & echo $! > http_server.pid
|
5 |
uvicorn "app:app" --port 7860 --host 0.0.0.0
|