Skip to content
Snippets Groups Projects
Commit db91cfbb authored by Martin Mareš's avatar Martin Mareš
Browse files

O zakládání datových adresářů se stará samostatný skript

Tím se zbavíme několika neúplných implementací.
parent 23e88913
No related branches found
No related tags found
1 merge request!121Testovací prostředí
This commit is part of merge request !121. Comments created here will be created in the context of that merge request.
......@@ -7,7 +7,7 @@
pip install wheel
pip install -c constraints.txt --editable .
# vytvořit mo/config.py podle etc/config.py.example
mkdir -p data/imports
bin/init-data-dir
bin/flask run
......
......@@ -23,7 +23,8 @@ else
fi
echo "Zakládám adresáře"
mkdir -p $DEST/{log,var,data/{errors,imports,jobs,statements,submits,tmp,score}}
mkdir -p $DEST/{log,var}
bin/init-data-dir $DEST/data
echo "Instaluji balíček"
pip install -c constraints.txt .
......
#!/bin/bash
set -e
DEST=${1:-.}
mkdir -p $DEST/{errors,imports,jobs,statements,submits,tmp,score}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment