-
Run
sbt
from root directory to enter the interactive mode. -
Start the server by using
re-start
orrun
. -
Run test coverage by
;clean;coverage;test
. -
URLs:
- http://localhost:8080/hello: Simple hello response
- http://localhost:8080/hello/{some_name}: Hello response greeting name and return Json response
- http://localhost:8080/hello/{some_name}/{delay}: Sends chunked response in intervals with delay in milliseconds
-
Console URL: http://localhost:8080/adm
-
sbt docker
to create a docker image. -
docker run -p 8080:8080 <IMAGE NAME>
to run as a docker container.
sebady / activator-squbs-scala Goto Github PK
View Code? Open in Web Editor NEWThis project forked from paypal/squbs-scala-seed.g8
Scala Activator Template for Squbs
License: Apache License 2.0