Working vagrant setup

This commit is contained in:
Shaun Duncan
2014-02-20 19:22:03 -05:00
parent 7bef94881b
commit f1b3c2a1a3
2 changed files with 33 additions and 51 deletions

5
Vagrantfile vendored
View File

@@ -19,9 +19,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Drone by default runs on port 80. Forward from host to guest
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.network :private_network, ip: "192.168.10.101"
# Sync this repo
config.vm.synced_folder ".", "/opt/drone"
# Sync this repo into what will be $GOPATH
config.vm.synced_folder ".", "/opt/go/src/github.com/drone/drone"
# system-level initial setup
config.vm.provision "shell", path: "scripts/provision.sh"