Created
May 22, 2017 12:49
-
-
Save CodingItWrong/a8c11c4891dddcf45eaaac4aaf81f7cb to your computer and use it in GitHub Desktop.
Vapor Vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.network "forwarded_port", guest: 8080, host: 8082, host_ip: "127.0.0.1" | |
config.vm.synced_folder ".", "/app" | |
config.vm.provision "shell", inline: <<-SHELL | |
eval "$(curl -sL https://apt.vapor.sh)" | |
sudo apt-get -y install swift vapor postgresql postgresql-contrib | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment