Skip to content
pz7gc3 edited this page Oct 4, 2012 · 4 revisions

Getting Started

This is minimally tested. You are probably better off using Maven or one of the IDEs above. Let me know if you have problems.

  • Make sure you have Java installed.
  • Make sure you have leiningen installed. Do not use lein self-install as Windows installation is a manual process. You will need to:
  • Download the leinigen.jar and set LEIN_JAR to point to it.
  • Download Clojure 1.3-alpha1
  • Set CLOJURE_JAR to point to the clojure.jar file.
  • Set your path to include {your-lein-install}\bin
  • Clone the labrepl project and change directory into it.
  • Run lein.bat deps to install all the dependent libraries.
  • Run script\repl to launch the labrepl.
  • Browse to http://localhost:8080 for the labs.
  • Press Ctrl+D to exit the repl when you are done.

Here is how I got started using leiningen 2.0.0.0-preview10 on Windows

  • I have (probably) used lein self-install. I have also edited my lein.bat to point to a preview instead of the SNAPSHOT.
  • Clone the labrepl project and change directory into it.
  • Run lein.bat deps to install all the dependent libraries.
  • Run lein.bat repl to launch the labrepl. Note, for me this did not start the webserver at localhost:8080.
  • In the REPL type (use 'labrepl) and then type (-main). This way I got the localhost:8080 server up and running.
  • Browse to http://localhost:8080 for the labs.
  • Press Ctrl+D to exit the repl when you are done.
Clone this wiki locally