
Requirements:
-------------

* Lua 5.1 or 5.2
* Lua libraries:
   * LuaSocket
   * md5
   * uuid
   * compat-5.2
   * lualogging

The easiest way to get up and running is to install LuaRocks ( http://www.luarocks.org )
and then install the following packages:

   luarocks install luasocket
   luarocks install md5
   luarocks install uuid
   luarocks install compat52
   luarocks install http://raw.github.com/hishamhm/lua-pb/master/lua-pb-scm-1.rockspec
   luarocks install lualogging

To regenerate the documentation, LDoc is required:

   luarocks install ldoc

Running:
--------
   
Then, run ./env.sh (the script provided at the top directory), which loads the LuaRocks
paths into your shell environment.

Once that is running, you may run the test scripts using the provided Makefile for reference.

All tests are client/server, so you need to launch two terminals and setup the environment
on both of them to run each endpoint.

Installing:
-----------

This is a pure Lua implementation, so to install it you simply need to put all modules in
a location recognized by Lua's module path. For example, with a vanilla installation of
Lua 5.1:

   mkdir -p /usr/local/share/lua/5.1/
   cp -a lac /usr/local/share/lua/5.1/

