FIX: spousteci skripty

This commit is contained in:
Jarmil 2019-10-01 10:29:55 +02:00
parent 2304fb10f9
commit 8944e33cbe
2 changed files with 12 additions and 2 deletions

12
src/run-venv.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# spousti nalodeni v jiz inicializovanem virtualenv
# pomocny skript pro potreby ladeni, v provozu se nepouziva (misto toho jede v dockeru)
source ../venv/bin/activate
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

View File

@ -1,7 +1,5 @@
#!/bin/bash
source ../venv/bin/activate
if [[ "x$1" == "x+" ]]; then
./manage.py runserver_plus 127.0.0.1:8010
else