* Requirements *

- perl
- Catalyst (http://www.catalystframework.org/)
- postgresql (http://www.postgresql.org/)
- a smtp server

* Installation from source code *

perl Makefile.PL
make install

On the database server:

- You may want to create a specific user:
  Directly in postgres as administrator:
  
    =# CREATE ROLE rolename WITH LOGIN PASSWORD 'rolepassword';
  
  Or using command line:
    
    # createuser 'rolename' --password

- Create a database owned by this role:
  Directly in postgres as administrator:
    
    =# CREATE DATABASE basename OWNER = rolename;
  
  Or using command line:
  
    # createdb basename -O rolename

- Create the default tables with sql/postgres.dump, using the previously 
defined rolename
  
   # psql -U rolename basename < sql/postgres.dump

(Refer to postgresql documentation for more options)

On the web server:

- Copy the epoll.yml.example to /etc/epoll.yml then edit it:
  - Change the db settings (and probably the smtp one)

- Configure apache to use either the cgi or fast_cgi program or run
  it as a standalone server.

Enjoy !

* WARNING *

This application is provided as is, without any warranty.

This file is just a quick installation guide to install the
application, it does it best to respect basic rules of elections
but do not provides information about security YOU should setup
to avoid fraud.

* Contact *

Olivier Thauvin <olivier dot thauvin at latmos dot ipsl dot fr>
