A good starting point for lein and ring powered clojure apps - for deployment to cloudbees.
You can also use https://github.com/CloudBees-community/clojure-clickstart for one that uses Jenkins to build/test.
If you don't have a CloudBees account - get one one:
lein do clean, deps, ring server
This will start the app - and open a browser. Hack away, press refresh, no need to restart unless you udpate dependencies etc. ('do' means do a list of things in lein terms)
To deploy to cloudbees:
1) Open project.clj - give your project a cloudbees-app-id 2) Then go to https://grandcentral.cloudbees.com/user/keys and get your credentials - punch them in (see project.clj).
From then on:
lein cloudbees deploy lein cloudbees list-apps lein cloudbees
The cloudbees plugin (http://clojars.org/lein-cloudbees) is used here for deployment (no runtime dependency, of course).
Copyright (C) 2011 Michael Neale