README.md 1.56 KB

Installation instructions for Clojure workshop

Java

Of course you need Java. Java 6 or higher will suffice.

Get it here.

Git

Hopefully you already have git, if you don't it's about time ;)

Get it here.

Leiningen

This is the defacto Clojure build tool. It will setup almost everything for you.

Get it here.

Light Table

This is the editor we will use. Pretty cool with lots of innovative features. Written entirely in ClojureScript.

Get it here.

Clone this project

git clone https://gitlab.com/stoyle/clojure-workshop-flatmap.git

Make leiningen fetch necessary dependencies

Execute the following command in the downloaded git workspace:

lein do clean, deps, midje, uberjar, install

Setup workspace in Light Table

Open project in Light Table`

File -> Open Folder -> Navigate to folder where you have checked out the project -> Press upload on the workspace folder.

Start a repl at project. Open a Clojure namespace and evaluate:

"Test/clojure-workshop-flatmap/ex-1" -> Press "Cmd-shift-enter" (Mac) / "Ctrl-shift-enter" (Windows/Linux).

This may take a little time. You will see inline light grey markings in the file.

Problems?

Don't hesitate to contact me at alf.kristian@kodemaker.no.

License

Copyright © 2014 Alf Kristian Støyle

Distributed under the Creative Commons Attribution 4.0 International Public License.