Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/candy-chat/candy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/devbox
diff options
context:
space:
mode:
authorBen Langfeld <ben@langfeld.me>2014-07-27 01:33:24 +0400
committerMichael Weibel <michael.weibel@gmail.com>2014-07-30 22:12:20 +0400
commitf387502553d90ffd3364402a639ad2c93c7d4fc3 (patch)
tree1212fb5926435f678140c39c1930629f4a0dbcac /devbox
parentb4ff8216a2e0f9da8c43151d46c2f03c722f66b4 (diff)
Testing
- Merge vagrant from candy-chat/vagrant to run tests on phantomjs - Implement basic tests for various modules - Create travis config file - Update CONTRIBUTING about testing
Diffstat (limited to 'devbox')
-rw-r--r--devbox/provisioning.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/devbox/provisioning.sh b/devbox/provisioning.sh
index 5c3f6f6..ce91aa9 100644
--- a/devbox/provisioning.sh
+++ b/devbox/provisioning.sh
@@ -38,19 +38,20 @@ ln -fs /vagrant/devbox/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
-npm install -g grunt-cli
-npm install
+su -u vagrant npm install
+su -u vagrant bower install
#
# Selenium & PhantomJS for testing
#
apt-get install -y openjdk-7-jre
mkdir /usr/lib/selenium/
-cd /usr/lib/selenium/
-wget http://selenium-release.storage.googleapis.com/2.42/selenium-server-standalone-2.42.2.jar
+wget --no-verbose --output-document=/usr/lib/selenium/selenium-server-standalone-2.42.2.jar -- http://selenium-release.storage.googleapis.com/2.42/selenium-server-standalone-2.42.2.jar
mkdir -p /var/log/selenium/
chmod a+w /var/log/selenium/
cp /vagrant/devbox/selenium.init.sh /etc/init.d/selenium