Simply based on https://github.com/spray/spray-template/tree/on_spray-can_1.3
A simple test to get just get videos and put videos.
Follow these steps to get started:
-
Git-clone this repository.
$ git clone git@github.com:robertrv/SpraySimpleServlet.git my-project
-
Change directory into your clone:
$ cd my-project
-
Launch SBT:
$ sbt
-
Compile everything and run all tests:
> test
-
Start the application:
> re-start
-
Browse to http://localhost:8080
-
Stop the application:
> re-stop
-
Start hacking on
src/main/scala/com/example/MyService.scala
-
For test hacking on
src/test/scala/com/example/VideoSpec.scala