This repository contains the sample code for the Scalatra in Action book.
Each chapter has a code listing. The instructions for building the listings boils down to:
- have a JDK installed
- change into the top-level directory of the application (e.g.
- make sure the file
sbtis executable (i.e.
chmod +x sbton *nix), or that you've installed sbt if you're on Windows.
- run sbt:
./sbt(on *nix) or
sbt(on Windows). This will download a large number of dependencies.
container:startat the sbt prompt
- visit the running application in your browser, at http://localhost:8008