Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaked README

  • Loading branch information...
commit 5d2f8621b1fcfa3ce3acc98600bce4453cc3c622 1 parent f4fc22d
@davegurnell davegurnell authored
Showing with 19 additions and 7 deletions.
  1. +19 −7 README.md
View
26 README.md
@@ -1,13 +1,25 @@
-1. Launch [SBT](http://code.google.com/p/simple-build-tool).
+Bigtop / Scalatra example
+=========================
- ./sbt
+This example demonstrates the use of [Bigtop Routes] within a [Scalatra] application.
-2. Run Jetty
+Running the code
+================
- jetty-run
+You should be able to get this up and running with the following code:
-3. Go to http://localhost:8080/.
+ git clone git@github.com/bigtop/scalatra-example.git bigtop-scalatra-example
+ cd bigtop-scalatra-example
+ ./sbt jetty-run ~prepare-webapp
-4. Learn more at http://www.scalatra.org/stable/book.
+Key files
+=========
+
+The important files in this demo are:
+
+ - `ExampleServlet.scala` - your trusty ScalatraServlet;
+ - `ExampleSite.scala` - Routes Site object.
+
+[Bigtop Routes]: http://bigtopweb.com/routes/
+[Scalatra]: https://github.com/scalatra/scalatra
-5. Happy hacking!
Please sign in to comment.
Something went wrong with that request. Please try again.