Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 597 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 597 Bytes

Sample Clojure webapp (with DB access)

Prerequisites

Development mode

rgibson@thingy:~$ lein deps
rgibson@thingy:~$ lein ring server

This will actually fire up a browser frame to click around. Or hit http://localhost:3000 to do it from $BROWSER_OF_CHOICE.

Production mode

rgibson@thingy:~$ lein uberjar
rgibson@thingy:~$ java -jar target/hello-0.1.0-SNAPSHOT-standalone.jar

Yep - fully packaged, no external dependencies except Java.