A Leiningen template for projects using Luminus.
The template initializes a base Luminus application.
Luminus requires Leiningen version 2.x
Run the following command to create a new Luminus project:
lein new luminus <your project name>
To build as standalone run:
lein ring uberjar
and you'll be able to run the resulting standalone jar as you would with any other executable Java jar:
java -jar target/myapp-0.1.0-SNAPSHOT-standalone.jar 2012-12-15 19:17:23.471:INFO:oejs.Server:jetty-7.x.y-SNAPSHOT 2012-12-15 19:17:23.512:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080 Server started on port [ 8080 ]. You can view the site at http://localhost:8080
To build a WAR run:
lein ring uberwar
Then you can deploy the resulting WAR to Tomcat or any other Java application server.
Copyright © 2012 Yogthos
Distributed under the Eclipse Public License, the same as Clojure.