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
|
||||
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
|
||||
|
||||
|
@ -65,4 +65,4 @@ start on runlevel [2345]
|
|||
stop on runlevel [!2345]
|
||||
respawn
|
||||
exec /usr/local/bin/realms-wiki run
|
||||
EOF
|
||||
EOF
|
||||
|
|
Loading…
Reference in a new issue