diff options
author | Noah Loomans <noahloomans@gmail.com> | 2017-09-08 21:44:45 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2017-09-08 21:44:45 +0200 |
commit | 5aac32f72eca8c66e879583ce653d07bb3c7370f (patch) | |
tree | e529c41a917ce3f7f13183febc3ce666a6f627d4 /Vagrantfile | |
parent | b4a63e917d8e07f0b1422f5f4e145e46e223386e (diff) | |
parent | c8d6527d802a64e19ef5e7141a9c817517d5a99f (diff) |
Merge branch 'master' into beta
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..131fc03 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,18 @@ +Vagrant.configure("2") do |config| + config.vm.box = "bento/ubuntu-16.04" + + config.vm.network "forwarded_port", guest: 3000, host: 3000 + + config.vm.provision "shell", inline: <<-SHELL + curl -sL https://deb.nodesource.com/setup_6.x | bash - + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - + echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list + apt-get update + apt-get install -y build-essential nodejs yarn + SHELL + + config.vm.provision "shell", privileged: false, inline: <<-SHELL + ln -s /vagrant /home/vagrant/app + echo "cd ~/app" >> /home/vagrant/.bashrc + SHELL +end |