Skip to content
Erik Pragt edited this page Jul 14, 2013 · 7 revisions

Dropwizard is a Java framework for developing ops-friendly, high-performance, RESTful web services.

Running it

Currently, there are two ways to build the DropWizard support:

  1. From a jar
  2. With gradle run

Jar approach

  1. ./gradlew epub-organizer-dropwizard:jar
  2. java -jar epub-organizer-dropwizard/build/libs/epub-organizer-dropwizard-1.0.jar server epub-organizer-dropwizard/src/main/resources/hello-world.yml

Gradle run

  1. ./gradlew epub-organizer-dropwizard:run

Both approaches will start the internal webserver at port 8080, and you can access the page at http://localhost:8080/hello-world?name=Test

Other commands

./gradlew epub-organizer-dropwizard:distZip - Creates a distributable zip

Clone this wiki locally