Last change
on this file since 196 was
143,
checked in by nanardon, 15 years ago
|
- a better installation precedure
|
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 | |
---|
10 | perl Makefile.PL |
---|
11 | make install |
---|
12 | |
---|
13 | On 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 | |
---|
32 | Copy the vote.yml.example to /etc/vote.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 | |
---|
38 | Enjoy ! |
---|
39 | |
---|
40 | * WARNING * |
---|
41 | |
---|
42 | This application is provide as is, without any warranty. |
---|
43 | |
---|
44 | This file is just a quick installation guide to install the |
---|
45 | application does it best to respect basic rules of elections |
---|
46 | but do not provide information about security YOU should provide |
---|
47 | around to avoid fraud. |
---|
48 | |
---|
49 | * Contact * |
---|
50 | |
---|
51 | Olivier Thauvin <olivier dot thauvin at latmos dot ipsl dot fr> |
---|
Note: See
TracBrowser
for help on using the repository browser.