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
|
||||
find . -name __pycache__ -o -name "*.pyc" -delete
|
||||
sudo iptables -I INPUT -p tcp --dport $WEBPORT -j ACCEPT
|
||||
overmind start -D
|
||||
echo "http://$(hostname -f):$WEBPORT"
|
||||
printf "\n---\n webserver: http://$(hostname -f):$WEBPORT\n---\n"
|
||||
overmind start
|
||||
}
|
||||
tasks["run"]=run
|
||||
tasks["start"]=run
|
||||
|
|
Loading…
Reference in New Issue