forked from fgpv-vpgf/fgpv-vpgf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
27 lines (23 loc) · 882 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "forwarded_port", guest: 6001, host: 6001
config.vm.network "forwarded_port", guest: 6003, host: 6003
config.vm.network "forwarded_port", guest: 35729, host: 35729
# config.vm.synced_folder ".", "/vagrant"
config.vm.provider "virtualbox" do |vb|
vb.memory = "1024"
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate//vagrant","1"]
end
config.vm.provision "shell", inline: <<-SHELL
sudo apt-get update
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs build-essential git
cd /vagrant
npm install -g bower gulp
sudo -H -u vagrant npm install
sudo -H -u vagrant bower install
# sudo apt-get install -y apache2
SHELL
end