Merge pull request #16 from leek/patch-1

Allow bower to install with sudo
This commit is contained in:
Matthew Scragg 2014-09-18 10:45:58 -05:00
commit 35bd6f246f

View file

@ -46,7 +46,7 @@ libffi-dev nodejs libyaml-dev
# Install frontend assets # Install frontend assets
sudo npm install -g bower sudo npm install -g bower
sudo -iu ${APP_USER} bower --config.cwd=${APP_DIR} --config.directory=realms/static/vendor --config.interactive=false install sudo -iu ${APP_USER} bower --allow-root --config.cwd=${APP_DIR} --config.directory=realms/static/vendor --config.interactive=false install
sudo -iu ${APP_USER} virtualenv ${APP_DIR}/.venv sudo -iu ${APP_USER} virtualenv ${APP_DIR}/.venv