Starting with ubuntu/trusty64 or ubuntu/wily64, this adds the Swift development environment along with libdispatch and a few other useful libraries.
- Copy
Vagrantfileandvm-provisioningfolder into your project. - Open
Vagrantfileand change:- the Ubunut base box to use (
config.vm.box) - the IP address on
config.vm.networkif you need to. - the hostname (
config.vm.network)
- the Ubunut base box to use (
- Update the
swift_seed_url_1404&swift_seed_url_1510URLs invm-provisioning\init.ymlto the latest. - Add .vagrant to your project's
.gitignorefile.
-
Install VitualBox, VirtualBox Guest Additions and Vagrant.
-
Run
vagrant upfrom 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
-