source: trunk/README

Last change on this file was 307, checked in by nanardon, 14 years ago
  • add a new config option making poll creation limit by admin password instead mail confirmation (from branche/1)
File size: 1.4 KB
RevLine 
[120]1* Requirements *
2
3- perl
4- Catalyst (http://www.catalystframework.org/)
5- postgresql (http://www.postgresql.org/)
6- a smtp server
7
[119]8* Installation from source code *
9
10perl Makefile.PL
11make install
12
[292]13On the database server:
[119]14
[143]15- You may want to create a specific user:
[292]16  Directly in postgres as administrator:
17 
[293]18    =# CREATE ROLE rolename WITH LOGIN PASSWORD 'rolepassword';
[292]19 
20  Or using command line:
21   
22    # createuser 'rolename' --password
[119]23
[143]24- Create a database owned by this role:
[292]25  Directly in postgres as administrator:
26   
[293]27    =# CREATE DATABASE basename OWNER = rolename;
[292]28 
29  Or using command line:
30 
31    # createdb basename -O rolename
[143]32
[292]33- Create the default tables with sql/postgres.dump, using the previously
34defined rolename
35 
[294]36   # psql -U rolename basename < sql/postgres.dump
[143]37
38(Refer to postgresql documentation for more options)
39
[292]40On the web server:
[119]41
[292]42- Copy the epoll.yml.example to /etc/epoll.yml then edit it:
43  - Change the db settings (and probably the smtp one)
44
45- Configure apache to use either the cgi or fast_cgi program or run
[119]46  it as a standalone server.
47
48Enjoy !
49
50* WARNING *
51
[292]52This application is provided as is, without any warranty.
[119]53
54This file is just a quick installation guide to install the
[292]55application, it does it best to respect basic rules of elections
56but do not provides information about security YOU should setup
57to avoid fraud.
[119]58
59* Contact *
60
61Olivier Thauvin <olivier dot thauvin at latmos dot ipsl dot fr>
Note: See TracBrowser for help on using the repository browser.