source: branches/1/README @ 479

Last change on this file since 479 was 245, checked in by nanardon, 10 years ago
  • fix configuration file namein doc (reported by Gilles Grasseau)
File size: 1.3 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 serveur:
14
15- You may want to create a specific user:
16  From postgres as administrator:
17    CREATE ROLE 'rolename' WITH LOGIN PASSWORD 'rolepassword';
18  From command line:
19    createuser 'rolename' --password
20
21- Create a database owned by this role:
22  From postgres as administrator:
23    CREATE DATABASE 'basename' OWNER TO 'rolename';
24  From command line:
25    createdb basename -O rolename
26
27- restore the based schema with sql/postgres.dump AS rolename
28  psql -u rolename basename < sql/postgres.dump
29
30(Refer to postgresql documentation for more options)
31
32Copy the epoll.yml.example to /etc/epoll.yml then edit it:
33- change the db settings (and probably the smtp one)
34
35- configure apache to use either the cgi or fast_cgi program or run
36  it as a standalone server.
37
38Enjoy !
39
40* WARNING *
41
42This application is provide as is, without any warranty.
43
44This file is just a quick installation guide to install the
45application does it best to respect basic rules of elections
46but do not provide information about security YOU should provide
47around to avoid fraud.
48
49* Contact *
50
51Olivier Thauvin <olivier dot thauvin at latmos dot ipsl dot fr>
Note: See TracBrowser for help on using the repository browser.