-
Install git
- Windows: Install via http://git-scm.com
- OS X: Install with package manager or http://git-scm.com
- Linux: Install via distribution package manager or http://git-scm.com
-
Install Erlang & Elixir
Verify your installation by calling the executables git, erl and iex in
your shell. Your erlang installation needs to be on OTP 18 and Elixir on 1.2.0
or higher. Check the version by running iex:
~ λ iex
Erlang/OTP 18 [erts-7.3.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (1.2.0) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>
The repository for all labs is found at https://github.com/ericmj/tutorial.
-
git clone from your console
$ git clone git@github.com:ericmj/tutorial.git
-
Enter the tutorial directory
$ cd tutorial
-
Enter the directory for the current lab
$ cd labN
The individual labs can be found at the following URLs:
Elixir basics: https://github.com/ericmj/tutorial/blob/master/lab1
Implement a chat: https://github.com/ericmj/tutorial/blob/master/lab2
Using ShouldI: https://github.com/ericmj/tutorial/blob/master/lab3
Processes: https://github.com/ericmj/tutorial/blob/master/lab4
Process abstractions: https://github.com/ericmj/tutorial/blob/master/lab5
Using Blacksmith: https://github.com/ericmj/tutorial/blob/master/lab6