Get started

Erlang tutorial slides

In the course slides repository you find a set of Erlang tutorial slides.

Other online resources

The official Erlang documentation

The Linux terminal

The string $ will be used to denote the Linux shell prompt. For example, to run the ls command, the following notation will be used:

$ ls

The Erlang shell

The string erlang> will be used to denote the Erlang shell prompt. For example, to execute 4+1 in the Erlang shell, the following notation will be used:

erlang> 4+1.

Clone repository

Before you continue, you must clone the module-8 repository. From the terminal, navigate to a directory where you want the cloned directory to be created and execute the following command.

$ git clone https://github.com/uu-os-2018/module-8.git

Now you should see something similar to this in the terminal.

$ git clone https://github.com/uu-os-2018/module-8.git
Cloning into 'module-8'...
remote: Counting objects: 23, done.
remote: Compressing objects: 100% (20/20), done.
remote: Total 23 (delta 1), reused 23 (delta 1), pack-reused 0
Unpacking objects: 100% (23/23), done.

Generate and view documentation

In the terminal, navigate to the module-8 directory.

$ cd module-8

Use make to generate html documentation for the provided Erlang modules.

$ make doc

Use the help script to view the html documentation in your default web browser.

$ ./help

If the help script doesn’t work, you can get the url of the generated html documentation:

$ make doc_url