Skip to content

Latest commit

 

History

History
37 lines (33 loc) · 1.24 KB

README.md

File metadata and controls

37 lines (33 loc) · 1.24 KB

Finatra Hello World Example Application

  • A simple "hello world" example.
  • Note: Finatra examples are built in different ways depending on the branch you are in:

If you're in master or a feature branch

Run sbt from the top-level Finatra directory, e.g.

$ cd ../../
$ sbt helloWorld/run
$ sbt helloWorld/assembly
$ java -jar examples/hello-world/target/scala-2.11/finatra-hello-world-assembly-2.x.x-SNAPSHOT.jar -http.port=:8888 -admin.port=:9990

If you're in a tagged release branch (e.g. v2.1.0)

###SBT### Run sbt from this project's directory, e.g.

$ sbt run

Or build and run a deployable jar:

$ sbt assembly
$ java -jar target/scala-2.11/finatra-hello-world-assembly-2.1.0.jar -http.port=:8888 -admin.port=:9990

###Maven###

mvn clean install