Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 40 lines (24 sloc) 1.335 kB
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
1 Scalatra is a tiny, [Sinatra](http://www.sinatrarb.com/)-like web framework for
2 [Scala](http://www.scala-lang.org/).
8507b2f added readme
Alan Dipert authored
3
96d7d1c @rossabaker Spruce up the README.
rossabaker authored
4 ## Example
8507b2f added readme
Alan Dipert authored
5
96d7d1c @rossabaker Spruce up the README.
rossabaker authored
6 import org.scalatra._
8507b2f added readme
Alan Dipert authored
7
96d7d1c @rossabaker Spruce up the README.
rossabaker authored
8 class ScalatraExample extends ScalatraServlet {
9 get("/") {
10 <h1>Hello, world!</h1>
11 }
12 }
8507b2f added readme
Alan Dipert authored
13
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
14 ## Documentation
be4caf6 @LeifW Need an H2 to get a horizontal rule, I guess?
LeifW authored
15
39e01bb @regadas fixed scalatra book url
regadas authored
16 Please see [The Scalatra Book](http://www.scalatra.org/stable/book/) for more.
2c539f8 @LeifW Mention the Maven id of the thing for people just looking to add the …
LeifW authored
17
ef5a92e @rossabaker Link to old README; the book is apparently not quite yet a superset.
rossabaker authored
18 The [old readme](https://github.com/scalatra/scalatra/tree/scalatra_2.9.0-1-2.0.0.RC1/README.markdown)
19 is deprecated in favor of the book, but may still be more advanced in a few
20 subjects. If you find one, please [let us know](http://github.com/scalatra/scalatra-book/issues).
21
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
22 ## Latest version
2c539f8 @LeifW Mention the Maven id of the thing for people just looking to add the …
LeifW authored
23
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
24 The latest version of Scalatra is `2.0.0.RC1`, and is published to [Maven Central](http://repo1.maven.org/maven2/org/scalatra).
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
25
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
26 libraryDependencies += "org.scalatra" %% "scalatra" % "2.0.0.RC1"
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
27
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
28 ### Development version
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
29
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
30 The develop branch is published as `2.0.0-SNAPSHOT` to [OSSRH](http://oss.sonatype.org/content/repositories/snapshots/org/scalatra).
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
31
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
32 resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
33
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
34 libraryDependencies += "org.scalatra" %% "scalatra" % "2.0.0-SNAPSHOT"
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
35
96d7d1c @rossabaker Spruce up the README.
rossabaker authored
36 ## Community
37
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
38 * Mailing list: [scalatra-user](http://groups.google.com/scalatra-user)
39 * IRC: #scalatra on irc.freenode.org
Something went wrong with that request. Please try again.