Merge pull request #16 from leek/patch-1
Allow bower to install with sudo
This commit is contained in:
commit
35bd6f246f
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue