Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
SBT template project for quickly getting started with spray-server

This branch is 17 commits behind spray:on_jetty_1.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
project
src
.gitignore
README.markdown
UPDATING.md
build.sbt

README.markdown

spray Template Project

This projects provides a starting point for your own spray-routing endeavors. There are four branches, providing templates for spray-routing on

  • spray-can, Scala 2.9 + Akka 2.0 + spray 1.0 (the on_spray-can_1.0 branch)
  • spray-can, Scala 2.10 + Akka 2.1 + spray 1.1 (the on_spray-can_1.1 branch)
  • spray-can, Scala 2.10 + Akka 2.2 + spray 1.2 (the on_spray-can_1.2 branch)
  • Jetty, Scala 2.9 + Akka 2.0 + spray 1.0 (the on_jetty_1.0 branch)
  • Jetty, Scala 2.10 + Akka 2.1 + spray 1.1 (the on_jetty_1.1 branch)
  • Jetty, Scala 2.10 + Akka 2.2 + spray 1.2 (the on_jetty_1.2 branch)

You are currently on the on_jetty_1.0 branch.

Follow these steps to get started:

  1. Git-clone this repository.

    $ git clone git://github.com/spray/spray-template.git my-project
    
  2. Change directory into your clone:

    $ cd my-project
    
  3. Launch SBT:

    $ sbt
    
  4. Compile everything and run all tests:

    > test
    
  5. Start the application:

    > container:start
    
  6. Browse to http://localhost:8080/

  7. Stop the application:

    > container:stop
    
  8. Learn more at http://www.spray.io/

  9. Start hacking on src/main/scala/com/example/MyService.scala

Something went wrong with that request. Please try again.