scalatra-in-action
scalatra-in-action copied to clipboard
Example code for the forthcoming book Scalatra in Action, to be published by Manning
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.
cd chapter02/scalachat). - 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) orsbt(on Windows). This will download a large number of dependencies. - type
container:startat the sbt prompt - visit the running application in your browser, at http://localhost:8008