Spaces:
Paused
Paused
Update run.sh
Browse files
run.sh
CHANGED
|
@@ -2,6 +2,8 @@
|
|
| 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 $!
|
|
|
|
| 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/server.js
|
| 6 |
+
node server.js
|
| 7 |
chmod +x /home/pn/app/build/linuxBuild.x86_64
|
| 8 |
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /home/pn/app/build/linuxBuild.x86_64 -port 7777
|
| 9 |
wait $!
|