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

Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
3
## Git
4

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

Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
7 8 9 10 11 12 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
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.
48 49 50

## License

Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
51
Copyright © 2014 Alf Kristian Støyle
52

Alf Kristian Støyle's avatar
Alf Kristian Støyle committed
53
Distributed under the [Creative Commons Attribution 4.0 International Public License](http://creativecommons.org/licenses/by/4.0/).