kpsul/provisioning/prepare_django.sh

10 lines
239 B
Bash

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