Merge branch 'elarnon/bash_set_e' into 'master'

Make provisioning script stop immediately on errors

See merge request cof-geek/gestioCOF!293
This commit is contained in:
Martin Pepin 2018-02-20 14:36:28 +01:00
commit 746c5e2053
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,8 @@
#!/bin/sh
# Stop if an error is encountered
set -e
# Configuration de la base de données. Le mot de passe est constant car c'est
# pour une installation de dév locale qui ne sera accessible que depuis la
# machine virtuelle.

View file

@ -1,5 +1,8 @@
#!/bin/bash
# Stop if an error is encountered.
set -e
python manage.py migrate
python manage.py loaddata gestion sites articles
python manage.py loaddevdata