Skip to content
Sample project that shows how to host external static assets with Dropwizard
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/com/gunnargissel/gravina
.gitignore
LICENSE
README.md
app.yml
pom.xml

README.md

Gravina Demo Dropwizard Asset Bundle App

See an in depth demo

What

Gravina is a very small Dropwizard app with an echo service and the ability to host static assets from outside of its jar.

Why

It is convenient to deploy static assets separately from an api server, and sometimes having the api server host the static assets is more convenient than messing with proxies

How

Build this app server with mvn package

Configure the app server by editing app.yml. The target hosting directory is controlled by these settings;

  overrides:
    /: /tmp

Run the app from inside the project's root directory with java -jar target\gravina-1.0.jar server app.yml

See an in depth demo

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.