Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

capotej/finatra-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Example finatra project to get you started

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages