Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 45 lines (28 sloc) 1.176 kb
c8cdf63 @casualjim readme updates
casualjim authored
1 ## Scalatra [![Build Status](http://jenkins.backchat.io/job/scalatra/badge/icon)](http://jenkins.backchat.io/job/scalatra/)
39c032a @casualjim Update README.markdown
casualjim authored
2
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
3 Scalatra is a tiny, [Sinatra](http://www.sinatrarb.com/)-like web framework for
4 [Scala](http://www.scala-lang.org/).
8507b2f added readme
Alan Dipert authored
5
96d7d1c @rossabaker Spruce up the README.
rossabaker authored
6 ## Example
8507b2f added readme
Alan Dipert authored
7
d47f580 @casualjim Update README.markdown
casualjim authored
8 ```scala
9 import org.scalatra._
8507b2f added readme
Alan Dipert authored
10
d47f580 @casualjim Update README.markdown
casualjim authored
11 class ScalatraExample extends ScalatraServlet {
12 get("/") {
13 <h1>Hello, world!</h1>
14 }
15 }
16 ```
8507b2f added readme
Alan Dipert authored
17
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
18 ## Documentation
be4caf6 @LeifW Need an H2 to get a horizontal rule, I guess?
LeifW authored
19
4f2b3a9 @casualjim link straight to guides
casualjim authored
20 Please see [The Scalatra Book](http://www.scalatra.org/guides/) for more.
2c539f8 @LeifW Mention the Maven id of the thing for people just looking to add the …
LeifW authored
21
ef5a92e @rossabaker Link to old README; the book is apparently not quite yet a superset.
rossabaker authored
22
0daa83d @futurechimp Ditching link to old README, the book now wins.
futurechimp authored
23 ## Latest version
2c539f8 @LeifW Mention the Maven id of the thing for people just looking to add the …
LeifW authored
24
c8cdf63 @casualjim readme updates
casualjim authored
25 The latest version of Scalatra is `2.2.1`, 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
26
2b7c0e4 @casualjim Update README.markdown
casualjim authored
27 ```scala
c8cdf63 @casualjim readme updates
casualjim authored
28 libraryDependencies += "org.scalatra" %% "scalatra" % "2.2.1"
be43c40 @casualjim Update README.markdown
casualjim authored
29 ```
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
30
21551ec @rossabaker The book is the new README. Just the facts here.
rossabaker authored
31 ### Development version
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
32
c5ef858 @ceedubs Fix snapshot version in readme
ceedubs authored
33 The develop branch is published as `2.2.2-SNAPSHOT` to [OSSRH](http://oss.sonatype.org/content/repositories/snapshots/org/scalatra).
bd9ff15 @rossabaker Remove cross build from README.
rossabaker authored
34
2b7c0e4 @casualjim Update README.markdown
casualjim authored
35 ```scala
be43c40 @casualjim Update README.markdown
casualjim authored
36 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
37
c8cdf63 @casualjim readme updates
casualjim authored
38 libraryDependencies += "org.scalatra" %% "scalatra" % "2.2.2-SNAPSHOT"
be43c40 @casualjim Update README.markdown
casualjim authored
39 ```
57b3962 @ornicar Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
40
96d7d1c @rossabaker Spruce up the README.
rossabaker authored
41 ## Community
42
b5affa5 @rossabaker Fix group link in readme. Thanks, raj.
rossabaker authored
43 * 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
44 * IRC: #scalatra on irc.freenode.org
Something went wrong with that request. Please try again.