4 Vagrant.configure("2") do |config|
5 config.vm.box = "precise64"
6 config.vm.box_url = "http://files.vagrantup.com/precise64.box"
8 if Vagrant.has_plugin?("vagrant-cachier")
9 config.cache.enable :apt
10 config.cache.scope = :box
13 # port forward for webrick on 3000
14 config.vm.network :forwarded_port, :guest => 3000, :host => 3000
16 # set up synced folder to source in /srv/openstreetmap-website
17 config.vm.synced_folder ".", "/srv/openstreetmap-website"
19 # provision using a simple shell script
20 config.vm.provision :shell, :path => "script/vagrant/setup/provision.sh"