From 7485f00f2fc9ea75d6e0da87e25faebfd152517c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Fri, 9 Jan 2015 15:14:49 +0100 Subject: [PATCH] Fix install & update scripts --- server_config/server_install.sh | 5 ++--- server_config/server_update.sh | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server_config/server_install.sh b/server_config/server_install.sh index f63294e..66a1716 100644 --- a/server_config/server_install.sh +++ b/server_config/server_install.sh @@ -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 diff --git a/server_config/server_update.sh b/server_config/server_update.sh index 0cf1ee3..58529e7 100755 --- a/server_config/server_update.sh +++ b/server_config/server_update.sh @@ -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