blob: 796977ee0f2d86d563034fdb8d4f5a89b6ee0df6 [file] [log] [blame]
Vagrant.configure("2") do |config|
# base image
config.vm.box = "ubuntu/trusty64"
# setup a private network to the host machine
config.vm.network "private_network", ip: "192.168.46.100"
# share the folder
config.vm.synced_folder "../", "/opt/service-profile"
config.vm.synced_folder "../../xos", "/opt/xos"
config.vm.synced_folder ".", "/vagrant", disabled: true
# increase RAM
config.vm.provider :virtualbox do |vb|
vb.customize ['modifyvm', :id,'--memory', '4096']
end
# make the frontend config
config.vm.provision "shell", inline: "cd /opt/service-profile/frontend/ && make"
end