kpsul/provisioning/prepare_django.sh
2017-02-08 15:26:56 -02:00

9 lines
221 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 collectstatic --noinput