Remove bower from shell scripts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user