Skip to content

stormcat24/deployboard-server

 
 

Repository files navigation

Circle CI

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 87.9%
  • HTML 11.1%
  • Perl 1.0%