https://github.com/nonchalant/vaporprotobufsample
Vapor + ProtocolBuffers + Docker
https://github.com/nonchalant/vaporprotobufsample
Last synced: 8 months ago
JSON representation
Vapor + ProtocolBuffers + Docker
- Host: GitHub
- URL: https://github.com/nonchalant/vaporprotobufsample
- Owner: Nonchalant
- Created: 2018-01-02T05:33:04.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T09:05:43.000Z (over 8 years ago)
- Last Synced: 2024-12-27T20:44:30.506Z (over 1 year ago)
- Language: Swift
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VaporProtobufSample
## Environment
- Swift: 4.0.3
- Swift Package Manager: Swift 4.0.0-dev
- Vapor Toolbox: 3.1.2
- Docker: 17.09.1-ce
- Carthage: 0.27.0
## Server
```shell
$ cd server
$ brew install vapor/tap/vapor
$ vapor build
$ vapor run
```
If you'd like to build and run by docker
```shell
$ cd server
$ brew install docker
$ make docker-build
$ make docker-run
```
## Client
```shell
$ cd client
$ brew install carthage
$ make setup
```
Open `./client/VaporProtobufSampleClient.xcodeproj` and Run