Just do the following one by one, and you should be fine.
You will need Java to work with this Clojure workshop content.
First, make sure you have Java 8.
- Run
java -version
in your terminal. - If Java is not installed, please download and install Java 8 from here.
- Once you are done,
java -version
should show you a Java 1.8.x version.
Notes:
- If you have Java 9+, that should be OK too.
- The LightTable editor is known to break with Java 9. Use Java 8 if you are keen on using LightTable.
- We have not tested this project with Java 7 and earlier.
Follow Leiningen setup instructions here.
- Clone this project
- Open your terminal, and do the following.
cd
into this project's root directory- Use
lein repl
command to start a REPL with Leiningen. - Wait for it... the REPL will start and print out a message with some useful information
- Locate the
port
andhost
information in the message. We will need this information soon.
Note:
- Boot should be fine too, but you may need to generate your own boot file(s).
Set up an editor and figure out how to evaluate Clojure code with it. We are fine with you choosing the editor as long as your editor can do,
- Connect to a Clojure REPL from the editor
- Evaluate snippets and/or entire namespaces in the connected REPL from the editor.
- Code navigation
- Paredit / Parinfer
Editors we can help out with
- Emacs
- Vim
- Cursive
If you don't have an editor setup, we suggest you use Cursive with IntelliJ. Please follow instructions from here. Do note that you may need to use it in trial mode or get an appropriate license ahead of time. There's a cost-free license available for personal/non-commercial hacking.
Copyright � 2018-2019 IN/Clojure.
Distributed under the MIT license.