for now only works with JDK 8
lein(ingen) 1.7.0 or above.
Installing lein 1.7.1 described here
for lein tasks
$ lein help
lein deps
which will download all required dependencies.
But don't forget to configure ~/.m2/settings.xml
if proxy is being used. Have a look at lein issue#283.
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
<!-- proxies
| This is a list of proxies which can be used on this machine to connect to the network.
| Unless otherwise specified (by system property or command-line switch), the first proxy
| specification in this list marked as active will be used.
|-->
<proxies>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<!-- <username>prayag</username>
<password></password>
-->
<host>10.**.***.**5</host>
<port>8080</port>
<nonProxyHosts>google.com|github.com</nonProxyHosts>
</proxy>
</proxies>
</settings>
To start a web server for the application, fire:
$ lein ring server 8443
Copyright © 2013 pseudononymous-upd