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 run
sbt test
sbt stage
mvn scala:run
mvn test
mvn package
Install heroku toolbelt.
You may also need to install foreman:
gem install foreman
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
foreman start web
./target/universal/stage/bin/<appname>