/swift-webframeworks-docker

Docker containers used for spinning up different Swift web frameworks

Primary LanguageSwift

swift-webframeworks-docker

Docker containers used for spinning up different Swift web frameworks

Why

  • Very few commands to spin up a development container
  • Great for getting other team members setup
  • Don't need to install framework dependencies on your host OS
  • ex: Epoch needs libvenice, http-parser, and uri-parser
  • Because you don't have to spend 8 hours doing this same thing that I had to do 😇

Which frameworks are included

How to use

  1. Clone/fork repo
  2. Run Swifta
  3. cd swiftra
  4. docker-compose build
  5. docker-compose up - This rebuilds the project (by using swift build) and then runs the build - Rerun this command after making changes to the project
  6. Hit machine url on port 8080 - ex: http://192.168.99.100:8080
  7. Run Epoch
  8. cd epoch
  9. docker-compose build
  10. docker-compose up - This rebuilds the project (by using swift build) and then runs the build - Rerun this command after making changes to the project
  11. Hit machine url on port 8080 - ex: http://192.168.99.100:8080