Skip to content

prayagupa/clj-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nepleaks


prerequisites

for now only works with JDK 8

emacs cider

lein(ingen) 1.7.0 or above.

installing lein

Installing lein 1.7.1 described here

for lein tasks

$ lein help

download dependencies

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>

run webapp

To start a web server for the application, fire:

$ lein ring server 8443

License

Copyright © 2013 pseudononymous-upd

Releases

No releases published

Packages

No packages published

Languages