Tutorial by Examples

Pouriya@Jahanbakhsh ~ $ git clone https://github.com/Pouriya-Jahanbakhsh/director.git
Note that OTP>=19 required (if you want to upgrade it using release_handler). Go to director and use rebar or rebar3. Pouriya@Jahanbakhsh ~ $ cd director rebar Pouriya@Jahanbakhsh ~/director $ rebar compile ==> director_test (compile) Compiled src/director.erl Pouriya@Jahanbakhsh ~/di...
director needs a callback module (like OTP supervisor). In callback module you should export function init/1. What init/1 should return? wait, i'll explain step by step. -module(foo). -export([init/1]). init(_InitArg) -> {ok, []}. Save above code in foo.erl in director directory an...
rebar: Pouriya@Jahanbakhsh ~/director $ rebar doc rebar3: Pouriya@Jahanbakhsh ~/director $ rebar3 edoc erl Pouriya@Jahanbakhsh ~/director $ mkdir -p doc && erl -noshell\ -eval "edoc:file(\"./src/direc...

Page 1 of 1