ServerH / run.sh
Kano001's picture
Create run.sh
c7b7ecf verified
raw
history blame contribute delete
291 Bytes
#!/bin/bash
service nginx start
python -m http.server --directory ./static --bind 0.0.0.0 7860 & echo $! > http_server.pid
chmod +x /home/pn/app/build/linuxBuild.x86_64
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' /home/pn/app/build/linuxBuild.x86_64 -port 7777
wait $!