A Leiningen template for Web apps based on Compojure, Stencil, Bootstrap and jQuery
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/leiningen/new Update file modes Jun 3, 2014
.gitignore Update file modes Jun 3, 2014
README.md README update Jun 1, 2014
project.clj Fixes stencil templates path May 22, 2014

README.md

lein-webapp-template

A Leiningen template for Web apps based on Compojure, Stencil, Bootstrap and jQuery.

Usage with Leiningen 2

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

License

Copyright © 2012-2013 Eric Prunier

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