gestioCOF/provisioning/prepare_django.sh
2020-09-15 11:49:32 +02:00

10 lines
248 B
Bash

#!/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
python manage.py loaddata gestion sites articles
python manage.py loaddevdata