Skip to content

Commit 4de5b19

Browse files
feature: Add vagrantfile with configuration for a Vulcan project
1 parent b8587ad commit 4de5b19

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

Vagrantfile

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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

0 commit comments

Comments
 (0)