Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshdholtz/swift-webframeworks-docker
Docker containers used for spinning up different Swift web frameworks
https://github.com/joshdholtz/swift-webframeworks-docker
Last synced: 3 months ago
JSON representation
Docker containers used for spinning up different Swift web frameworks
- Host: GitHub
- URL: https://github.com/joshdholtz/swift-webframeworks-docker
- Owner: joshdholtz
- Created: 2016-01-28T16:26:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-30T21:25:21.000Z (almost 9 years ago)
- Last Synced: 2024-10-11T10:32:50.489Z (4 months ago)
- Language: Swift
- Homepage:
- Size: 16.6 KB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 :innocent:## Which frameworks are included
- [x] [Swiftra](https://github.com/takebayashi/swiftra)
- [x] [Epoch](https://github.com/Zewo/Epoch)
- [ ] [Vapor](https://github.com/tannernelson/vapor)## How to use
1. Clone/fork repo
2. Run Swifta
1. `cd swiftra`
2. `docker-compose build`
3. `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
4. Hit machine url on port 8080
- ex: http://192.168.99.100:8080
3. Run Epoch
1. `cd epoch`
2. `docker-compose build`
3. `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
4. Hit machine url on port 8080
- ex: http://192.168.99.100:8080