Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 36 lines (21 sloc) 1.047 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
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
16 Please see [The Scalatra Book](http://github.com/stable/book) for more.
2c539f8 @LeifW Mention the Maven id of the thing for people just looking to add the …
LeifW authored
17
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
18 ## Latest version
2c539f8 @LeifW Mention the Maven id of the thing for people just looking to add the …
LeifW authored
19
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
20 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
21
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
22 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
23
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
24 ### Development version
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 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
27
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
28 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
29
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
30 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
31
96d7d1c @rossabaker Spruce up the README.
rossabaker authored
32 ## Community
33
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
34 * Mailing list: [scalatra-user](http://groups.google.com/scalatra-user)
35 * IRC: #scalatra on irc.freenode.org
Something went wrong with that request. Please try again.