File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ Vagrant . configure ( 2 ) do |config |
5
+
6
+ config . vm . box = "ubuntu/bionic64"
7
+
8
+ # Create a forwarded port mapping which allows access to a specific port
9
+ # within the machine from a port on the host machine. In the example below,
10
+ # accessing "localhost:8080" will access port 80 on the guest machine.
11
+ config . vm . network "forwarded_port" , guest : 3000 , host : 3000
12
+
13
+ config . vm . provider "virtualbox" do |vb |
14
+ # Display the VirtualBox GUI when booting the machine
15
+ vb . gui = false
16
+
17
+ # Customize the amount of memory on the VM:
18
+ vb . memory = "4096"
19
+ end
20
+
21
+ config . vm . synced_folder "./" , "/home/vagrant/app"
22
+
23
+ config . vm . provision "shell" , inline : <<-SHELL
24
+ sudo apt-get update
25
+ sudo apt-get install -yq curl
26
+ sudo apt-get install -yq finger
27
+ sudo apt-get install -yq nodejs
28
+ sudo apt-get install -yq git
29
+ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
30
+ sudo apt-get update
31
+ sudo apt-get install -yq nodejs
32
+ sudo apt-get install -yq build-essential
33
+ curl https://install.meteor.com/ | sh
34
+ git clone https://gist.github.com/03e0dd43bcdf5623a8b1e85959c9328c.git ./app/scripts
35
+ chmod +x ./app/scripts/download-vulcan.sh
36
+ SHELL
37
+ end
You can’t perform that action at this time.
0 commit comments