krakensdr_pr/gui_run.sh

20 lines
685 B
Bash
Raw Permalink Normal View History

2021-12-23 02:10:19 +00:00
#!/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
2022-01-05 12:10:35 +00:00
#echo "Python Server running at $IPADDR:8080"
2021-12-23 02:10:19 +00:00
#echo "PHP Server running at $IPADDR:$IPPORT"
#sudo php -S $IPADDR:$IPPORT -t _android_web 2> /dev/null &