Skip to content
A giter8 template for a basic Scalatra SBT project
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 125 commits behind scalatra:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
project
src
.gitignore
README.md
build.sbt

README.md

Scalatra sbt project

g8 template to get a Scalatra web service up and running quickly.

Use this template

$ g8 scalatra/scalatra-sbt
$ cd <name-of-app>
$ ./sbt
> container:start

Modify this template

$ git clone git@github.com:foo/scalatra-sbt.g8.git
  • Now make your desired changes.
  • Do a local deploy of your modified template and try it out.
$ sbt
> g8-test # must result in SUCCESS or OutOfMemoryError (working on it)
> exit
$ cd target/sbt-test/default-*/scripted
$ sbt
$ container:start
$ browse # starts browser for you, or manually open http://localhost:8080 to verify
  • If you like your new template, push it to GitHub.
$ cd /path/to/scalatra-sbt.g8.git
$ git push
  • You can now access your modified template using g8.
$ cd
$ g8 foo/scalatra-sbt.g8
  • If you'd like to share your changes, send a pull request.
You can’t perform that action at this time.