Show URL to webserver

This commit is contained in:
Andreas Zweili 2023-07-22 16:37:49 +02:00
parent f2912d7655
commit ea33c3ffea
1 changed files with 2 additions and 2 deletions

4
dev.sh
View File

@ -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