A Leiningen template for Web apps based on Compojure, Stencil, Bootstrap and jQuery.
Create a new project using this template:
lein new lein-webapp-template my-web-site
cd my-web-site
Then launch the new Web app by issuing one of the following commands:
SERVER_HOST=localhost SERVER_PORT=8080 lein run
You can generate a standalone jar and run it:
lein uberjar
java -Dserver.host=localhost -Dserver.port=8080 -jar target/my-web-site-0.1.0-SNAPSHOT-standalone.jar
You can also generate a war to deploy on a server like Tomcat, Jboss...
lein ring uberwar
Copyright © 2012-2013 Eric Prunier
Distributed under the Eclipse Public License, the same as Clojure.