blob: 747c209bbfd935adc18fc794de51801bb96752a4 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -07001Vagrant.configure("2") do |config|
Scott Baker665839d2016-06-29 07:36:36 -07002 # base image
Scott Baker50421662016-06-27 22:09:48 -07003 config.vm.box = "ubuntu/trusty64"
4
Scott Baker665839d2016-06-29 07:36:36 -07005 # setup a private network to the host machine
Scott Baker50421662016-06-27 22:09:48 -07006 config.vm.network "private_network", ip: "192.168.46.100"
Scott Baker665839d2016-06-29 07:36:36 -07007
8 # share the folder
9 config.vm.synced_folder "../../../", "/opt/xos"
10
11 # increase RAM
12 config.vm.provider :virtualbox do |vb|
13 vb.customize ['modifyvm', :id,'--memory', '2048']
14 end
15
16 # make the frontend config
17 config.vm.provision "shell", inline: "cd /opt/xos/xos/configurations/frontend && make"
Scott Baker50421662016-06-27 22:09:48 -070018 end