website: update Vagrantfile for grunt
This commit is contained in:
parent
b1fc87fe59
commit
efa3e1f25f
|
@ -6,14 +6,28 @@ VAGRANTFILE_API_VERSION = "2"
|
||||||
|
|
||||||
$script = <<SCRIPT
|
$script = <<SCRIPT
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
|
|
||||||
|
# RVM/Ruby
|
||||||
sudo apt-get -y install curl
|
sudo apt-get -y install curl
|
||||||
curl -sSL https://get.rvm.io | bash -s stable
|
curl -sSL https://get.rvm.io | bash -s stable
|
||||||
. ~/.bashrc
|
. ~/.bashrc
|
||||||
. ~/.bash_profile
|
. ~/.bash_profile
|
||||||
rvm install 2.0.0
|
rvm install 2.0.0
|
||||||
rvm --default use 2.0.0
|
rvm --default use 2.0.0
|
||||||
|
|
||||||
|
# Middleman deps
|
||||||
cd /vagrant
|
cd /vagrant
|
||||||
bundle
|
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
|
SCRIPT
|
||||||
|
|
||||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "consul"
|
"name": "terraform"
|
||||||
, "description": ""
|
, "description": ""
|
||||||
, "version": "1.0.0"
|
, "version": "1.0.0"
|
||||||
, "devDependencies": {
|
, "devDependencies": {
|
||||||
"grunt": "~0.4.1"
|
"grunt": "~0.4.1"
|
||||||
|
, "grunt-cli": "~0.1.13"
|
||||||
, "grunt-contrib-less": "~0.11.0"
|
, "grunt-contrib-less": "~0.11.0"
|
||||||
, "grunt-contrib-clean": "~0.5.0"
|
, "grunt-contrib-clean": "~0.5.0"
|
||||||
, "grunt-contrib-connect": "~0.3.0"
|
, "grunt-contrib-connect": "~0.3.0"
|
||||||
|
|
Loading…
Reference in New Issue