mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-29 18:45:48 -05:00
29 lines
777 B
Ruby
29 lines
777 B
Ruby
# -*- mode: ruby -*-
|
|
# vi: set ft=ruby :
|
|
|
|
# Original content copyright (c) 2014 dpen2000 licensed under the MIT license
|
|
|
|
VAGRANTFILE_API_VERSION = "2"
|
|
|
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
|
|
# A VMware compatible box is avaliable from:
|
|
# https://github.com/spkane/vagrant-boxes/releases/download/v1.0.0/trusty64_vmware.box
|
|
config.vm.box = "ubuntu/trusty64"
|
|
|
|
config.vm.network "forwarded_port", guest: 3000, host: 3000
|
|
config.vm.network "forwarded_port", guest: 9485, host: 9485
|
|
|
|
config.vm.provision "shell", path: "scripts/vagrant/provision.sh"
|
|
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 2048
|
|
v.cpus = 2
|
|
end
|
|
|
|
config.vm.provider "vmware_fusion" do |v|
|
|
v.memory = 2048
|
|
v.cpus = 2
|
|
end
|
|
|
|
end
|