From 0718280bcbdae8138594d40643af4b45dfba75f8 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 7 Dec 2016 10:59:45 +0100 Subject: [PATCH] Add bower allow-root option --- bin/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/upgrade.sh b/bin/upgrade.sh index 46fa0fb2..f7d5d200 100755 --- a/bin/upgrade.sh +++ b/bin/upgrade.sh @@ -4,6 +4,6 @@ git pull git submodule foreach git pull docker-compose run app python /srv/app/manage.py migrate # docker-compose run app python /srv/app/manage.py update_translation_fields -docker-compose run app bash -c "cd /srv && bower install && gulp build" +docker-compose run app bash -c "cd /srv && bower --allow-root install && gulp build" docker-compose run app python /srv/app/manage.py collectstatic --noinput docker-compose run app bash /srv/doc/build.sh -- 2.39.5