Find file History
#29 Compare This branch is 216 commits ahead of ymasory:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
project
src
.gitignore
README.md
sbt

README.md

Scalatra Atmosphere Example

Corresponds to the guide at http://scalatra.org/2.3/guides/async/atmosphere.html

Build & Run

$ git clone https://github.com/scalatra/scalatra-website-examples.git
$ cd scalatra-website-examples/2.3/async/scalatra-atmosphere-embedded
$ chmod +x sbt
$ ./sbt run

If browse doesn't launch your browser, manually open http://localhost:8080/ in your browser.

You can build an embedded Atmosphere-enabled app which runs under Jetty, by calling the stage task once you're in SBT. This will package a start script for you - it can be run by calling target/start from the top-level project directory.