Changeset 292 for trunk


Ignore:
Timestamp:
04/07/10 03:31:59 (14 years ago)
Author:
misc
Message:

slightly better documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r246 r292  
    1111make install 
    1212 
    13 On the database serveur: 
     13On the database server: 
    1414 
    1515- 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 
    2023 
    2124- 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 
    2632 
    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  
     34defined rolename 
     35   
     36   # psql -u rolename basename < sql/postgres.dump 
    2937 
    3038(Refer to postgresql documentation for more options) 
    3139 
    32 Copy the epoll.yml.example to /etc/epoll.yml then edit it: 
    33 - change the db settings (and probably the smtp one) 
     40On the web server: 
    3441 
    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 
    3646  it as a standalone server. 
    3747 
     
    4050* WARNING * 
    4151 
    42 This application is provide as is, without any warranty. 
     52This application is provided as is, without any warranty. 
    4353 
    4454This 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. 
     55application, it does it best to respect basic rules of elections 
     56but do not provides information about security YOU should setup 
     57to avoid fraud. 
    4858 
    4959* Contact * 
Note: See TracChangeset for help on using the changeset viewer.