Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 46 lines (30 sloc) 1.336 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
d47f580 @casualjim Update README.markdown
casualjim authored
6 ```scala
7 import org.scalatra._
8507b2f added readme
Alan Dipert authored
8
d47f580 @casualjim Update README.markdown
casualjim authored
9 class ScalatraExample extends ScalatraServlet {
10 get("/") {
11 <h1>Hello, world!</h1>
12 }
13 }
14 ```
8507b2f added readme
Alan Dipert authored
15
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
16 ## Documentation
be4caf6 @LeifW Need an H2 to get a horizontal rule, I guess?
LeifW authored
17
39e01bb @regadas fixed scalatra book url
regadas authored
18 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 lib...
LeifW authored
19
ef5a92e @rossabaker Link to old README; the book is apparently not quite yet a superset.
rossabaker authored
20 The [old readme](https://github.com/scalatra/scalatra/tree/scalatra_2.9.0-1-2.0.0.RC1/README.markdown)
21 is deprecated in favor of the book, but may still be more advanced in a few
22 subjects. If you find one, please [let us know](http://github.com/scalatra/scalatra-book/issues).
23
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
24 ## Latest version
2c539f8 @LeifW Mention the Maven id of the thing for people just looking to add the lib...
LeifW authored
25
b3e2a28 @rossabaker 2.0.1 -> 2.0.2
rossabaker authored
26 The latest version of Scalatra is `2.0.2`, 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
27
2b7c0e4 @casualjim Update README.markdown
casualjim authored
28 ```scala
fe61beb @rossabaker Update for 2.0.3.
rossabaker authored
29 libraryDependencies += "org.scalatra" %% "scalatra" % "2.0.3"
be43c40 @casualjim Update README.markdown
casualjim authored
30 ```
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 ### Development version
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
33
b591f96 @rossabaker Update current version numbers in README.
rossabaker authored
34 The develop branch is published as `2.1.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
35
2b7c0e4 @casualjim Update README.markdown
casualjim authored
36 ```scala
be43c40 @casualjim Update README.markdown
casualjim authored
37 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
38
be43c40 @casualjim Update README.markdown
casualjim authored
39 libraryDependencies += "org.scalatra" %% "scalatra" % "2.1.0-SNAPSHOT"
40 ```
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
41
96d7d1c @rossabaker Spruce up the README.
rossabaker authored
42 ## Community
43
b5affa5 @rossabaker Fix group link in readme. Thanks, raj.
rossabaker authored
44 * Mailing list: [scalatra-user](http://groups.google.com/group/scalatra-user)
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
45 * IRC: #scalatra on irc.freenode.org
Something went wrong with that request. Please try again.