Skip to content
Eric Merritt edited this page Dec 30, 2011 · 5 revisions

Quick Start

Getting Sinan

Download sinan from here. Its an Erlang Escript. You can just drop it in a directory that is in your PATH without a problem.

Using Sinan

To get started just cd into an OTP Application and type

sinan build

This will give you an fully built OTP application under the _build directory. You can then run the command

sinan shell

to get an erlang shell with all the paths pointing correctly to the various parts of your system.

If you want to get adventurous you can run all the eunit tests in your app by running:

sinan test

and finially, if you want to package up a normal erlang release tarball you can run

sinan dist

The tarball will end up in

<project-root>/_build/<release-name>/tar/<app-name>-<app-vsn>.tar.gz

To get a list of all tasks currently available run the command

sinan help

Hopefully thats enough to get you started, but sinan has many options to do various things with projects from small single app projects to very large multiple app projects. To get more information take a look at the sinan manual.

More Information

Sinan has extensive further documentation in its wiki on github. Check there for more information.

Clone this wiki locally