kpsul/provisioning/prepare_django.sh
2017-06-25 20:27:58 +01:00

9 lines
255 B
Bash

#!/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