Inicializační skript
Aby si po `make install_web` nebylo potřeba pamatovat, co všechno se má spustit.
This commit is contained in:
parent
c9be24b785
commit
e42878ca4e
1 changed files with 13 additions and 0 deletions
13
init_local.sh
Executable file
13
init_local.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e # Spadni pokud něco spadne
|
||||||
|
|
||||||
|
# Check venvu
|
||||||
|
# NOTE: zkontroluje i správnou složku -- existencí Makefilu
|
||||||
|
make venv_check
|
||||||
|
|
||||||
|
# Vygenerujeme testdata
|
||||||
|
./manage.py testdata
|
||||||
|
|
||||||
|
# Nahrajeme statický obsah modelů
|
||||||
|
./manage.py loaddata flat.json sitetree_new.json
|
Loading…
Reference in a new issue