nalodeni.pirati.cz/run-venv.sh

13 lines
311 B
Bash
Raw Normal View History

2019-10-01 11:29:55 +03:00
#!/bin/bash
# spousti nalodeni v jiz inicializovanem virtualenv
# pomocny skript pro potreby ladeni, v provozu se nepouziva (misto toho jede v dockeru)
2019-11-13 21:38:29 +02:00
source venv/bin/activate
2019-10-01 11:29:55 +03:00
if [[ "x$1" == "x+" ]]; then
./manage.py runserver_plus 127.0.0.1:8010
else
./manage.py runserver --insecure 127.0.0.1:8010
fi