From 4e75907ff0d80940228cce0ef90be825b3880cbd Mon Sep 17 00:00:00 2001 From: Andy Buckingham Date: Wed, 3 Jun 2015 12:46:52 +0100 Subject: [PATCH] Added basic Vagrantfile --- .gitignore | 2 ++ Vagrantfile | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index 7955715..8b2cbf4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ npm-debug.log coverage docs + +.vagrant diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..9753e17 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,16 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant.configure(2) do |config| + config.vm.box = "ubuntu/trusty64" + + config.vm.provision "shell", inline: <<-SHELL + sudo apt-get update + sudo apt-get install -y nodejs npm + + sudo ln -s /usr/bin/nodejs /usr/bin/node + + cd /vagrant/ + npm install + SHELL +end