From 7ad53968a355295f901a2d10db55be7374eac556 Mon Sep 17 00:00:00 2001 From: Michael Weibel Date: Tue, 10 Mar 2015 06:44:52 +0100 Subject: [PATCH 1/2] Fix provisioning --- provisioning.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/provisioning.sh b/provisioning.sh index 3f6d253..a75cc75 100644 --- a/provisioning.sh +++ b/provisioning.sh @@ -39,10 +39,16 @@ ln -fs /vagrant/candy-index.html /usr/share/nginx/html/index.html # sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update -sudo apt-get install -y nodejs +sudo apt-get install -y nodejs git +npm install -g grunt-cli +npm install -g bower + +cd /vagrant +su -u vagrant npm install +su -u vagrant bower install cd /vagrant/candy -npm install -g +grunt build # # Selenium & PhantomJS for testing From d4f2c22c922e17acd7e63bafec0b5d52e5bf1824 Mon Sep 17 00:00:00 2001 From: Michael Weibel Date: Wed, 11 Mar 2015 08:01:10 +0100 Subject: [PATCH 2/2] Remove websockets module downloading, is already there --- provisioning.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/provisioning.sh b/provisioning.sh index a75cc75..a1e6161 100644 --- a/provisioning.sh +++ b/provisioning.sh @@ -15,9 +15,6 @@ apt-get update apt-get install -y liblua5.1-bitop prosody lua-event -# Install Websockets module -wget -O /usr/lib/prosody/modules/mod_websocket.lua http://prosody-modules.googlecode.com/hg/mod_websocket/mod_websocket.lua - # Place config cp /vagrant/prosody.cfg.lua /etc/prosody/prosody.cfg.lua