-
Notifications
You must be signed in to change notification settings - Fork 80
Windows
pz7gc3 edited this page Oct 4, 2012
·
4 revisions
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-installas Windows installation is a manual process. You will need to: - Download the leinigen.jar and set
LEIN_JARto point to it. - Download Clojure 1.3-alpha1
- Set
CLOJURE_JARto 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 depsto install all the dependent libraries. - Run
script\replto 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 mylein.batto point to a preview instead of the SNAPSHOT. - Clone the labrepl project and change directory into it.
- Run
lein.bat depsto install all the dependent libraries. - Run
lein.bat replto 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.