kpsul/provisioning/prepare_django.sh
2017-02-11 21:01:37 +01:00

10 lines
248 B
Bash

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