Vagrant.configure("2") do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" config.vm.provision :shell, path: 'provision.sh' # rails config.vm.network "forwarded_port", guest: 3000, host: 3002 # live teaching config.vm.network "forwarded_port", guest: 5000, host: 5002 # ttm-coffeescript-math config.vm.network "forwarded_port", guest: 9000, host: 9002 # Give VM 2 gigs of memory config.vm.provider "virtualbox" do |vb| vb.customize ["modifyvm", :id, "--memory", "2048"] end # Use synced filesystem config.vm.synced_folder ".", "/vagrant", nfs: true # ... end
Installs:
Configuration to give the VM your data:
Everything else
Copies data found in env. Installs RVM and software Clones & prepares an apangea repository, essentially following the apangea README