kpsul/provisioning/prepare_django.sh

12 lines
318 B
Bash
Raw Normal View History

#!/bin/bash
# Stop if an error is encountered.
set -e
python manage.py migrate
python manage.py sync_page_translation_fields
python manage.py update_translation_fields
2017-02-08 18:26:56 +01:00
python manage.py loaddata gestion sites articles
python manage.py loaddevdata
python manage.py syncmails gestioncof/management/data/custommail.json