From 1adb9d440e6eedce7d9d4273006b729821cad63b Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Mon, 16 Nov 2020 18:50:45 +0100 Subject: [PATCH] Fix les permissions des fichiers statiques sous vagrant --- provisioning/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provisioning/bootstrap.sh b/provisioning/bootstrap.sh index b65df7c..9a5849d 100644 --- a/provisioning/bootstrap.sh +++ b/provisioning/bootstrap.sh @@ -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