kpsul/provisioning/prepare_django.sh

10 lines
255 B
Bash
Raw Normal View History

#!/bin/bash
# Doit être lancé par bootstrap.sh
source ~/venv/bin/activate
python manage.py migrate
python manage.py loaddata gestion events sites articles
python manage.py loaddevdata
python manage.py syncmails
python manage.py collectstatic --noinput