From 2f1003e8bcf190e67fa6199cce9697d646a224c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Sun, 16 Aug 2015 13:30:57 +0200 Subject: [PATCH] Remove bower from shell scripts --- server_config/server_install.sh | 3 +-- server_config/server_update.sh | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/server_config/server_install.sh b/server_config/server_install.sh index 7355ea5..18fd4ed 100644 --- a/server_config/server_install.sh +++ b/server_config/server_install.sh @@ -12,7 +12,7 @@ sudo apt-get install -y nodejs source ~/.profile # Installation of some packages globally -npm install bower forever grunt-cli -g +npm install forever grunt-cli -g source ~/.profile # Installation of YellowLabTools @@ -22,7 +22,6 @@ cd /space git clone https://github.com/gmetais/YellowLabTools.git --branch master cd YellowLabTools npm install || exit 1 -bower install --config.interactive=false --allow-root || exit 1 # Front-end compilation grunt build diff --git a/server_config/server_update.sh b/server_config/server_update.sh index 0da2289..01280d8 100755 --- a/server_config/server_update.sh +++ b/server_config/server_update.sh @@ -10,11 +10,9 @@ git stash git pull git stash pop -# In case something was added in package.json or bower.json +# In case something was added in package.json rm -rf node_modules npm install || exit 1 -rm -rf bower_components -bower install --config.interactive=false --allow-root || exit 1 # Front-end compilation rm -rf front/build