This projects provides a starting point for your own spray-routing endeavors. There are 8 branches, providing templates for spray-routing on
- spray-can, Scala 2.11 + Akka 2.3 + spray 1.3 (the
on_spray-can_1.3_scala-2.11
branch)
Follow these steps to get started:
-
Git-clone this repository.
$ git clone git://github.com/spray/spray-template.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
For auto-reloading:
> ~re-start
-
Browse to http://localhost:8080
-
Stop the application:
> re-stop
-
Learn more at http://www.spray.io/
-
Start hacking on
src/main/scala/com/example/MyService.scala