Rebar is a relatively new set of Erlang/OTP development tools. Rebar
makes it easier to develop and maintain Erlang/OTP applications and
releases.

Zotonic is built on Erlang/OTP. An understanding of Erlang/OTP
conventions is essential if you wish to read Zotonic source code,
develop Zotonic modules, or contribute code or patches to Zotonic.

By following each step in this tutorial carefully, and referring back
to the many excellent on-line Erlang documentation resources, you will
accelerate your progress up the daunting Erlang/OTP learning
curve. And more, you’ll learn how to read and understand Zotonic
source code while you’re at it.

In this tutorial we’ll use rebar to create, compile, and test two
Erlang applications. One will include a simple gen_server.

In Part II, we’ll generate documentation, run eunit tests, and create
a release that can be copied and run on a suitable host system.