Fix les permissions des fichiers statiques sous vagrant

This commit is contained in:
Ludovic Stephan 2020-11-16 18:50:45 +01:00 committed by Tom Hubrecht
parent 61032d1f60
commit 1adb9d440e

View file

@ -56,7 +56,7 @@ cd /vagrant
sudo -H -u vagrant \
DJANGO_SETTINGS_MODULE=$SETTINGS_MODULE \
bash -c ". ~/venv/bin/activate && bash provisioning/prepare_django.sh"
/home/vagrant/venv/bin/python manage.py collectstatic --noinput --settings $SETTINGS_MODULE
sudo -H -u vagrant /home/vagrant/venv/bin/python manage.py collectstatic --noinput --settings $SETTINGS_MODULE
# Mails
mkdir -p /var/mail/django