Show URL to webserver
This commit is contained in:
parent
f2912d7655
commit
ea33c3ffea
4
dev.sh
4
dev.sh
|
@ -6,8 +6,8 @@ run () {
|
||||||
setup
|
setup
|
||||||
find . -name __pycache__ -o -name "*.pyc" -delete
|
find . -name __pycache__ -o -name "*.pyc" -delete
|
||||||
sudo iptables -I INPUT -p tcp --dport $WEBPORT -j ACCEPT
|
sudo iptables -I INPUT -p tcp --dport $WEBPORT -j ACCEPT
|
||||||
overmind start -D
|
printf "\n---\n webserver: http://$(hostname -f):$WEBPORT\n---\n"
|
||||||
echo "http://$(hostname -f):$WEBPORT"
|
overmind start
|
||||||
}
|
}
|
||||||
tasks["run"]=run
|
tasks["run"]=run
|
||||||
tasks["start"]=run
|
tasks["start"]=run
|
||||||
|
|
Loading…
Reference in New Issue