website: update Vagrantfile for grunt

This commit is contained in:
Mitchell Hashimoto 2014-07-26 16:25:29 -07:00
parent b1fc87fe59
commit efa3e1f25f
2 changed files with 16 additions and 1 deletions

14
website/Vagrantfile vendored
View File

@ -6,14 +6,28 @@ VAGRANTFILE_API_VERSION = "2"
$script = <<SCRIPT
sudo apt-get -y update
# RVM/Ruby
sudo apt-get -y install curl
curl -sSL https://get.rvm.io | bash -s stable
. ~/.bashrc
. ~/.bash_profile
rvm install 2.0.0
rvm --default use 2.0.0
# Middleman deps
cd /vagrant
bundle
# JS stuff
sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:chris-lea/node.js
sudo apt-get update -y
sudo apt-get install -y nodejs
# Get JS deps
cd /vagrant/source
npm install
SCRIPT
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

View File

@ -1,9 +1,10 @@
{
"name": "consul"
"name": "terraform"
, "description": ""
, "version": "1.0.0"
, "devDependencies": {
"grunt": "~0.4.1"
, "grunt-cli": "~0.1.13"
, "grunt-contrib-less": "~0.11.0"
, "grunt-contrib-clean": "~0.5.0"
, "grunt-contrib-connect": "~0.3.0"