Simple leiningen plugin to lauch Jetty instances that can run any java WAR package inside Heroku.
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/leiningen
.gitignore
README
project.clj

README

# lein-herokujetty

Simple leiningen plugin to launch Jetty instances inside Heroku, that can run any java WAR package.


## Usage

This plugin tries to find a WAR package with the project name (from project.clj) inside the target/ directory.
A `PORT` envinronment variable must be present:

  PORT=8080 lein herokujetty


You can add this command to your Procfile (Foreman configuration) as the web process of your heroku application:

  # Procfile
  web: lein herokujetty


## License

Copyright (C) 2011 Fabio Kung <fabio.kung@gmail.com>

Distributed under the Eclipse Public License, the same as Clojure.