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