summaryrefslogtreecommitdiffstats
path: root/gui_run.sh
blob: c84839a902b9639661eeb2b4fce4d2cfe354332a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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:8080"
#echo "PHP Server running at $IPADDR:$IPPORT"
#sudo php -S $IPADDR:$IPPORT -t _android_web 2> /dev/null &