- Timestamp:
- 04/07/10 03:31:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/README
r246 r292 11 11 make install 12 12 13 On the database serve ur:13 On the database server: 14 14 15 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 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 20 23 21 24 - 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 25 Directly in postgres as administrator: 26 27 =# CREATE DATABASE 'basename' OWNER TO 'rolename'; 28 29 Or using command line: 30 31 # createdb basename -O rolename 26 32 27 - restore the based schema with sql/postgres.dump AS rolename 28 psql -u rolename basename < sql/postgres.dump 33 - Create the default tables with sql/postgres.dump, using the previously 34 defined rolename 35 36 # psql -u rolename basename < sql/postgres.dump 29 37 30 38 (Refer to postgresql documentation for more options) 31 39 32 Copy the epoll.yml.example to /etc/epoll.yml then edit it: 33 - change the db settings (and probably the smtp one) 40 On the web server: 34 41 35 - configure apache to use either the cgi or fast_cgi program or run 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 36 46 it as a standalone server. 37 47 … … 40 50 * WARNING * 41 51 42 This application is provide as is, without any warranty.52 This application is provided as is, without any warranty. 43 53 44 54 This file is just a quick installation guide to install the 45 application does it best to respect basic rules of elections46 but do not provide information about security YOU should provide47 aroundto avoid fraud.55 application, it does it best to respect basic rules of elections 56 but do not provides information about security YOU should setup 57 to avoid fraud. 48 58 49 59 * Contact *
Note: See TracChangeset
for help on using the changeset viewer.