-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Miki Leskinen <miki.leskinen@reaktor.fi>
- Loading branch information
Miki Leskinen
committed
Oct 5, 2012
1 parent
d29882c
commit 7858820
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
## Summary | ||
|
||
Template SBT project with Scalatra, lift-json and Specs2. | ||
Scala SBT project with Scalatra, lift-json and ScalaTest. | ||
|
||
## Setup | ||
|
||
* Launch [SBT](http://code.google.com/p/simple-build-tool): | ||
1. Launch [SBT](https://github.com/harrah/xsbt/wiki): | ||
|
||
`sbt` | ||
sbt | ||
|
||
* (optionally) generate IDEA configuration: | ||
2. (optionally) generate IDEA configuration: | ||
|
||
`gen-idea` | ||
gen-idea | ||
|
||
* Start Jetty server: | ||
3. Start Jetty server so that it boots after each source file change: | ||
|
||
`container:start` | ||
~;container:start; container:reload / | ||
|
||
3. Open [http://localhost:8080/users/1](http://localhost:8080/users/1) | ||
4. Open http://localhost:8660/api/json/users/1 or | ||
|
||
4. Learn more about [Scalatra](http://www.scalatra.org/stable/book/) and | ||
curl http://localhost:8660/api/json/users/1 | ||
|
||
5. Learn more about [Scalatra](http://www.scalatra.org/stable/book/) and | ||
[lift-json](https://github.com/lift/lift/tree/master/framework/lift-base/lift-json/) | ||
|