forked from thewca/worldcubeassociation.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
28 lines (25 loc) · 915 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network :forwarded_port, host: 2331, guest: 2331
# Mailcatcher runs on port 1080 inside the VM.
config.vm.network :forwarded_port, host: 2332, guest: 1080
config.ssh.forward_agent = true
config.vm.provider "virtualbox" do |vb|
# The results scripts can be a bit of a hog.
vb.memory = 2048
end
# For most development, the regulations dependencies are not needed.
config.vm.define "noregs", autostart: false do |noregs|
noregs.vm.provision "shell" do |s|
s.path = "scripts/wca-bootstrap.sh"
s.args = ["development-noregs"]
end
end
# A full development environment that takes a very long time to setup.
config.vm.define "all", autostart: false do |noregs|
noregs.vm.provision "shell" do |s|
s.path = "scripts/wca-bootstrap.sh"
s.args = ["development"]
end
end
end