Browse Source

FIX: spousteci skripty

master
Jarmil 2 years ago
parent
commit
8944e33cbe
  1. 12
      src/run-venv.sh
  2. 2
      src/run.sh

12
src/run-venv.sh

@ -0,0 +1,12 @@ @@ -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

2
src/run.sh

@ -1,7 +1,5 @@ @@ -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

Loading…
Cancel
Save