Skip to content

About

A giter8 template for a basic Scalatra SBT project

Resources

Stars

67 stars

Watchers

10 watching

Forks

Latest commit

 

History

357 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scalatra sbt project

Scala CI

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

Use this template

$ sbt new scalatra/scalatra.g8
$ cd <name-of-app>
$ sbt
> warStart

Modify this template

  • Fork scalatra/scalatra.g8 on GitHub to your account. Let's assume your account is "foo".
  • Clone it.
$ git clone git@github.com:foo/scalatra.g8.git
  • Now make your desired changes.
  • Do a local deploy of your modified template and try it out.
$ sbt
> g8Test # must result in SUCCESS
> exit
$ cd target/sbt-test/scalatra-g8/scripted
$ sbt
> warStart
# manually open http://localhost:8080 to verify
  • If you like your new template, push it to GitHub.
$ cd /path/to/scalatra.g8.git
$ git push
  • You can now access your modified template using g8.
$ cd
$ sbt new foo/scalatra.g8
  • If you'd like to share your changes, send a pull request.

About

A giter8 template for a basic Scalatra SBT project

Resources

Stars

67 stars

Watchers

10 watching

Forks

Releases

Packages

Used by

Contributors

Languages