Skip to content

Instantly share code, notes, and snippets.

@pingles
Created November 5, 2010 15:20
Show Gist options
  • Save pingles/664283 to your computer and use it in GitHub Desktop.
Save pingles/664283 to your computer and use it in GitHub Desktop.
(use 'ring.adapter.jetty)
(require 'comparison.api)
(let [port (Integer/parseInt (get (System/getenv) "PORT" "8080"))]
(run-jetty #'comparison.api/app {:port port}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment