In the course slides repository you find a set of Module 8 - Erlang tutorial slides.
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 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.
Before you continue, you must clone the module-8-erlang
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-2019/module-8-erlang.git
Now you should see something similar to this in the terminal.
$ git clone https://github.com/uu-os-2019/module-8-erlang.git
Cloning into 'module-8-erlang'...
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.
In the terminal, navigate to the module-8-erlang
directory.
$ cd module-8-erlang
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