Spaces:
Paused
Paused
Create run.sh
Browse files
run.sh
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
service nginx start
|
4 |
+
python -m http.server --directory ./static --bind 0.0.0.0 7860 & echo $! > http_server.pid
|
5 |
+
chmod +x /home/pn/app/build/linuxBuild.x86_64
|
6 |
+
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /home/pn/app/build/linuxBuild.x86_64 -port 7777
|
7 |
+
wait $!
|