Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Fix provisioning #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions provisioning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -39,10 +36,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
Expand Down