Home / Development / Erlware Web Site

The Erlware Public Web Site

Erlware Web site is yet another open project in the Erlware suite. It is generated from sources using webgen. Those sources are kept in a git repository, erlware-site, so that the development is open to all as any other Erlware project.

Development Model

Follow the standard workflow to send your patches to the erlware-dev@googlegroups.com mailing list. The site is generated periodically from the contents of the master branch. So it will pass some time since your patches are approved until they show in the site.

Since documentation is normally stable (at least much more stable than code) master and next branches are usually the same. There are situations, however, when next contains patches that are under revision or that are incomplete yet. If you doubt witch branch you should use to generate patches to contribute, drop some lines in the development list to ask.

Documentation Structure

The goal is promoting Erlware as a whole and provide tutorials to let new people start using Erlware without effort.

There are three sections:

Quick Guide

Follow next steps to clone erlware-site repository and generate a local copy of the web site.

  1. Clone erlware-site

    git clone http://git.erlware.org/erlware-site.git
    
  2. Download and install ruby gems. It will probably be packetised for your GNU/Linux distribution (e.g. apt-get install rubygems in Debian).

  3. Install webgen and bluecloth (the markdown text-to-html engine).

    $ gem install bluecloth
    $ gem install webgen
    
  4. Run webgen in the top level of the project (you may need to write the whole path to webgen):

    $ webgen run
    

Page sources are under src. They are written using markdown notation. After running webgen, the site root is in output.

Finally, if you are planning to contribute documentation, please: