Example finatra project to get you started
Scala
Switch branches/tags
Nothing to show
Latest commit 0f72713 Jan 9, 2015 @capotej update for 1.6.0
Permalink
Failed to load latest commit information.
project
src
.bowerrc
.gitignore
.travis.yml
Procfile
README.markdown
assembly.sbt
bower.json
build.sbt
pom.xml

README.markdown

finatra_example

Finatra requires either maven or sbt to build and run your app.

The .env file is used to configure Heroku environment variables locally. See heroku's docs for more information. Do not check it into source control!.

SBT Instructions

Runs your app on port 7070

sbt run

Testing

sbt test

Packaging

sbt stage

Maven Instructions

Runs your app on port 7070

mvn scala:run

Testing

mvn test

Packaging (fatjar)

mvn package

Heroku

Install heroku toolbelt.

You may also need to install foreman:

gem install foreman

To put on heroku

heroku login
git init
heroku create --buildpack https://github.com/heroku/heroku-buildpack-scala.git
heroku config:set ENV=production
git add .
git commit -am "Initial commit"
git push heroku master

To run locally like it does on heroku

foreman start web

To run anywhere else

./target/universal/stage/bin/<appname>