Bootstrap an akka remote backend service
Author: Maximilian Bundscherer (https://bundscherer-online.de)
Do not use akka remote without akka cluster and do not use java serializer in production-mode
- Server
MainServerand example clientExampleClientincluded - Docker local publish included
- Auto-generate coverage report(s) (sbt-scoverage)
- See requirements!
- Run server
sbt run-main com.mb.bootstrap.MainServer - Run example client
sbt run-main com.mb.bootstrap.ExampleClient - Have fun!
- SBT
- Docker (for docker local publish)
- (Opt) Change ports in
build.sbt - (Opt) Change main class in
build.sbt - Run command
sbt docker:publishLocal - Run image
docker run --name bootstrap-akka-remote -p 5150:5150 <IMAGE-ID>
- Run test
sbt clean coverage test - Generate coverage report(s)
sbt coverageReport