source: tags/2.00/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
Line 
1* Requirements *
2
3- perl
4- Catalyst (http://www.catalystframework.org/)
5- postgresql (http://www.postgresql.org/)
6- a smtp server
7
8* Installation from source code *
9
10perl Makefile.PL
11make install
12
13On the database server:
14
15- You may want to create a specific user:
16  Directly in postgres as administrator:
17 
18    =# CREATE ROLE rolename WITH LOGIN PASSWORD 'rolepassword';
19 
20  Or using command line:
21   
22    # createuser 'rolename' --password
23
24- Create a database owned by this role:
25  Directly in postgres as administrator:
26   
27    =# CREATE DATABASE basename OWNER = rolename;
28 
29  Or using command line:
30 
31    # createdb basename -O rolename
32
33- Create the default tables with sql/postgres.dump, using the previously
34defined rolename
35 
36   # psql -U rolename basename < sql/postgres.dump
37
38(Refer to postgresql documentation for more options)
39
40On the web server:
41
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
46  it as a standalone server.
47
48Enjoy !
49
50* WARNING *
51
52This application is provided as is, without any warranty.
53
54This file is just a quick installation guide to install the
55application, it does it best to respect basic rules of elections
56but do not provides information about security YOU should setup
57to avoid fraud.
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.