david-romero / scala-kata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scala-kata

Features

Infrastructure and tool dependencies

This application has the following infrastructure dependencies:

  • Consul (Docker image)
  • Consul-template (Docker image)

Developing

First of all, please remember to create your own fork!

git clone https://github.com/david-romero/scala-kata
cd scala-kata

That's all, now you are ready!!!

Testing

Note that, thanks to test-containers, you don't need any infrastructure component to run integration test on your local environment

To run Unit Tests execute:

./sbt test

To run Integration Tests execute:

./sbt it:test

Building

./sbt stage

Running

./bin/scala-kata --spring.config.location=file:application.yml

Remember that you'll need to populate properly the application.yml file with:

consul-template -consul consul.service.consul:8500 -template "./application.yml.ctmpl:./application.yml" -once

About

License:Apache License 2.0


Languages

Language:Scala 58.1%Language:Shell 41.5%Language:Dockerfile 0.4%