Fix install & update scripts

This commit is contained in:
Gaël Métais
2015-01-09 15:14:49 +01:00
parent c3704fa4ff
commit 7485f00f2f
2 changed files with 4 additions and 4 deletions
+2 -3
View File
@@ -12,8 +12,8 @@ sudo apt-get install -y nodejs
source ~/.profile
# Installation of some packages globally
npm install bower -g
npm install forever -g
npm install bower forever grunt-cli phantomjs -g
source ~/.profile
# Installation of YellowLabTools
sudo mkdir /space
@@ -25,7 +25,6 @@ npm install
bower install --config.interactive=false --allow-root
# Front-end compilation
npm install grunt -g
grunt build
# Start the server
+2 -1
View File
@@ -18,7 +18,8 @@ bower install --config.interactive=false --allow-root
# Front-end compilation
rm -rf front/build
npm install -g grunt
npm install grunt-cli -g
npm install phantomjs -g
grunt build
# Restart the server