README.md 1.38 KB
Newer Older
Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
1
# Installation instructions for Clojure workshop
2

3 4 5 6 7 8
## Java

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

Get it [here](http://www.oracle.com/technetwork/java/javase/downloads/index.html).

Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
9
## Git
10

Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
11
Hopefully you already have git, if you don't it's about time ;)
12

Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
Get it [here](http://git-scm.com/).

## Leiningen

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

Get it [here](http://leiningen.org/).

## Light Table

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

Get it [here](http://www.lighttable.com/).

## Clone this project

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

## Make leiningen fetch necessary dependencies

Execute the following command in the workspace:

```
lein do clean, deps, midje, install
```

## Open Light Table

Open project in Light Table`

```
File -> Open Folder -> Navigate to folder where you have checked out the project.
```

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

```
"Test/clojure-workshop-flatmap/ex-1" -> Press "Cmd-shift-enter"/"Ctrl-shift-enter".
```

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

## License

Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
57
Copyright © 2014 Alf Kristian Støyle
58

59
Distributed under the [Creative Commons Attribution 4.0 International Public License](http://creativecommons.org/licenses/by/4.0/).