Skip to content

Commit 4e6591b

Browse files
committed
Add Vagrantfile
1 parent 051f62c commit 4e6591b

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
.vagrant/
2+
13
node_modules
24
*.log

Vagrantfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
$script = <<SCRIPT
2+
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.22.0/install.sh | bash
3+
source ~/.nvm/nvm.sh
4+
nvm install 0.10
5+
nvm alias default 0.10
6+
SCRIPT
7+
8+
VAGRANTFILE_API_VERSION = "2"
9+
10+
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
11+
12+
config.vm.box = "ubuntu/trusty64"
13+
14+
config.vm.provision "shell", inline: $script, privileged: false
15+
16+
config.vm.network "forwarded_port", guest: 3000, host: 3000
17+
18+
end

0 commit comments

Comments
 (0)