]> git.openstreetmap.org Git - rails.git/blob - Vagrantfile
Fix vagrant to install all thee 3GL functions
[rails.git] / Vagrantfile
1 # -*- mode: ruby -*-
2 # vi: set ft=ruby :
3
4 Vagrant.configure("2") do |config|
5   config.vm.box = "precise64"
6   config.vm.box_url = "http://files.vagrantup.com/precise64.box"
7
8   if Vagrant.has_plugin?("vagrant-cachier")
9     config.cache.enable :apt
10     config.cache.scope = :box
11   end
12
13   # port forward for webrick on 3000
14   config.vm.network :forwarded_port, :guest => 3000, :host => 3000
15
16   # set up synced folder to source in /srv/openstreetmap-website
17   config.vm.synced_folder ".", "/srv/openstreetmap-website"
18
19   # provision using a simple shell script
20   config.vm.provision :shell, :path => "script/vagrant/setup/provision.sh"
21 end