diff options
Diffstat (limited to 'util/gui_run.sh')
-rwxr-xr-x | util/gui_run.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/util/gui_run.sh b/util/gui_run.sh new file mode 100755 index 0000000..4b1c598 --- /dev/null +++ b/util/gui_run.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +IPADDR="0.0.0.0" +IPPORT="8081" + +echo "Starting KrakenSDR Passive Radar" + +# Use only for debugging +#sudo python3 _UI/_web_interface/kraken_web_interface.py 2> ui.log & + +#sudo gunicorn -w 1 --threads 12 -b $IPADDR:8050 --chdir _UI/_web_interface kraken_web_interface:server 2> ui.log & +#sudo gunicorn -w 1 --threads 2 -b $IPADDR:8050 --chdir _UI/_web_interface kraken_web_interface:server 2> ui.log & + +python3 _UI/_web_interface/kraken_web_interface.py 2> ui.log & + +# Start PHP webserver to interface with Android devices +#echo "Python Server running at $IPADDR:8050" +#echo "PHP Server running at $IPADDR:$IPPORT" +#sudo php -S $IPADDR:$IPPORT -t _android_web 2> /dev/null & |