Browse Source

Remove bower from shell scripts

Gaël Métais 10 years ago
parent
commit
2f1003e8bc
2 changed files with 2 additions and 5 deletions
  1. 1 2
      server_config/server_install.sh
  2. 1 3
      server_config/server_update.sh

+ 1 - 2
server_config/server_install.sh

@@ -12,7 +12,7 @@ sudo apt-get install -y nodejs
 source ~/.profile
 source ~/.profile
 
 
 # Installation of some packages globally
 # Installation of some packages globally
-npm install bower forever grunt-cli -g
+npm install forever grunt-cli -g
 source ~/.profile
 source ~/.profile
 
 
 # Installation of YellowLabTools
 # Installation of YellowLabTools
@@ -22,7 +22,6 @@ cd /space
 git clone https://github.com/gmetais/YellowLabTools.git --branch master
 git clone https://github.com/gmetais/YellowLabTools.git --branch master
 cd YellowLabTools
 cd YellowLabTools
 npm install || exit 1
 npm install || exit 1
-bower install --config.interactive=false --allow-root || exit 1
 
 
 # Front-end compilation
 # Front-end compilation
 grunt build
 grunt build

+ 1 - 3
server_config/server_update.sh

@@ -10,11 +10,9 @@ git stash
 git pull
 git pull
 git stash pop
 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
 rm -rf node_modules
 npm install || exit 1
 npm install || exit 1
-rm -rf bower_components
-bower install --config.interactive=false --allow-root || exit 1
 
 
 # Front-end compilation
 # Front-end compilation
 rm -rf front/build
 rm -rf front/build