Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (27 sloc) 1.055 kb
21551ec Ross A. Baker 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 Ross A. Baker Spruce up the README.
rossabaker authored
4 ## Example
8507b2f added readme
Alan Dipert authored
5
d47f580 Ivan Porto Carrero Update README.markdown
casualjim authored
6 ```scala
7 import org.scalatra._
8507b2f added readme
Alan Dipert authored
8
d47f580 Ivan Porto Carrero 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 Ross A. Baker The book is the new README. Just the facts here.
rossabaker authored
16 ## Documentation
be4caf6 Leif Warner Need an H2 to get a horizontal rule, I guess?
LeifW authored
17
39e01bb Filipe Regadas fixed scalatra book url
regadas authored
18 Please see [The Scalatra Book](http://www.scalatra.org/stable/book/) for more.
2c539f8 Leif Warner Mention the Maven id of the thing for people just looking to add the lib...
LeifW authored
19
ef5a92e Ross A. Baker Link to old README; the book is apparently not quite yet a superset.
rossabaker authored
20
0daa83d Dave Hrycyszyn Ditching link to old README, the book now wins.
futurechimp authored
21 ## Latest version
2c539f8 Leif Warner Mention the Maven id of the thing for people just looking to add the lib...
LeifW authored
22
58cb504 Ivan Porto Carrero update version in readme.markdown
casualjim authored
23 The latest version of Scalatra is `2.0.4`, and is published to [Maven Central](http://repo1.maven.org/maven2/org/scalatra).
57b3962 Thibault Duplessis Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
24
2b7c0e4 Ivan Porto Carrero Update README.markdown
casualjim authored
25 ```scala
58cb504 Ivan Porto Carrero update version in readme.markdown
casualjim authored
26 libraryDependencies += "org.scalatra" %% "scalatra" % "2.0.4"
be43c40 Ivan Porto Carrero Update README.markdown
casualjim authored
27 ```
57b3962 Thibault Duplessis Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
28
21551ec Ross A. Baker The book is the new README. Just the facts here.
rossabaker authored
29 ### Development version
57b3962 Thibault Duplessis Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
30
b591f96 Ross A. Baker Update current version numbers in README.
rossabaker authored
31 The develop branch is published as `2.1.0-SNAPSHOT` to [OSSRH](http://oss.sonatype.org/content/repositories/snapshots/org/scalatra).
57b3962 Thibault Duplessis Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
32
2b7c0e4 Ivan Porto Carrero Update README.markdown
casualjim authored
33 ```scala
be43c40 Ivan Porto Carrero Update README.markdown
casualjim authored
34 resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
57b3962 Thibault Duplessis Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
35
be43c40 Ivan Porto Carrero Update README.markdown
casualjim authored
36 libraryDependencies += "org.scalatra" %% "scalatra" % "2.1.0-SNAPSHOT"
37 ```
57b3962 Thibault Duplessis Move the sbt 0.10 quick start section to the top, before sbt 0.7.
ornicar authored
38
96d7d1c Ross A. Baker Spruce up the README.
rossabaker authored
39 ## Community
40
b5affa5 Ross A. Baker Fix group link in readme. Thanks, raj.
rossabaker authored
41 * Mailing list: [scalatra-user](http://groups.google.com/group/scalatra-user)
21551ec Ross A. Baker The book is the new README. Just the facts here.
rossabaker authored
42 * IRC: #scalatra on irc.freenode.org
Something went wrong with that request. Please try again.