Fix les permissions des fichiers statiques sous vagrant

This commit is contained in:
Ludovic Stephan 2020-11-16 18:50:45 +01:00
parent 700272ac22
commit f45812a076

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