docs/installation/vagrant/Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hashicorp/precise32"
config.vm.provision "shell", path: "vagrant-ubuntu-install.sh", privileged: false
config.vm.network :forwarded_port, host: 3003, guest: 3000
#visit http://localhost:8888 after runing rake jasmine in vagrant to view interactive jasmine specs on host
config.vm.network :forwarded_port, host: 8888, guest: 8888
config.vm.synced_folder ".", "/LocalSupport"
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
end