Simple Rest and Protobuf API for soccer results
Install dependencies
$ mix local.hex
$ mix.deps get
You can generate documentation running:
$ mix docs
Import the file swagger.yml
to Swagger Editor
To generate benchmarking results, run:
$ mix run test/benchmarking/soccer_benchmark.ex
Init a docker Swarm
$ docker swarm init
Build an image
$ docker build .
Deploy image to Swarm
$ docker stack deploy --compose-file=docker-compose.yml ex
Check if services are up
$ docker service ls
DONE!