Skip to content
This repository has been archived by the owner on Jun 4, 2020. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 921 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 921 Bytes

Vagrant development box for Swift

Starting with ubuntu/trusty64 or ubuntu/wily64, this adds the Swift development environment along with libdispatch and a few other useful libraries.

Installation into your project

  1. Copy Vagrantfile and vm-provisioning folder into your project.
  2. 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)
  3. Update the swift_seed_url_1404 & swift_seed_url_1510 URLs in vm-provisioning\init.yml to the latest.
  4. Add .vagrant to your project's .gitignore file.

Running the VM

  1. Install VitualBox, VirtualBox Guest Additions and Vagrant.

  2. Run vagrant up from the command line.

  3. Add hostname to /etc/hosts.

    • Use the IP address that's in your Vagrantfile.

      e.g

      192.168.100.201 swiftdev.localhost