Starting with ubuntu/trusty64 or ubuntu/wily64, this adds the Swift development environment along with libdispatch and a few other useful libraries.
- Copy
Vagrantfile
andvm-provisioning
folder into your project. - Open
Vagrantfile
and change:- the Ubunut base box to use (
config.vm.box
) - the IP address on
config.vm.network
if you need to. - the hostname (
config.vm.network
)
- the Ubunut base box to use (
- Update the
swift_seed_url_1404
&swift_seed_url_1510
URLs invm-provisioning\init.yml
to the latest. - Add .vagrant to your project's
.gitignore
file.
-
Install VitualBox, VirtualBox Guest Additions and Vagrant.
-
Run
vagrant up
from the command line. -
Add hostname to
/etc/hosts
.-
Use the IP address that's in your
Vagrantfile
.e.g
192.168.100.201 swiftdev.localhost
-