liquid_feedback_core
annotate README @ 5:1cbdd3975a61
Version beta6
Added function for printing delegation chains
Replaced column member_count of table area by 3 new columns:
- direct_member_count
- member_weight (regarding delegations)
- autoreject_weight
Added calculated field to member_count table, storing the time of computation of the total member count and area member counts
Added view liquid_feedback_version
Code cleanup
Added function for printing delegation chains
Replaced column member_count of table area by 3 new columns:
- direct_member_count
- member_weight (regarding delegations)
- autoreject_weight
Added calculated field to member_count table, storing the time of computation of the total member count and area member counts
Added view liquid_feedback_version
Code cleanup
| author | jbe |
|---|---|
| date | Tue Nov 17 12:00:00 2009 +0100 (2009-11-17) |
| parents | 8d021cb5eaf4 |
| children | e6faf5ff83af |
| rev | line source |
|---|---|
| jbe@0 | 1 |
| jbe@0 | 2 Setup the database: |
| jbe@0 | 3 $ createdb liquid_feedback |
| jbe@0 | 4 $ psql -v ON_ERROR_STOP=1 -f core.sql liquid_feedback |
| jbe@0 | 5 |
| jbe@0 | 6 Optionally insert demo data: |
| jbe@0 | 7 $ psql -v ON_ERROR_STOP=1 -f demo.sql liquid_feedback |
| jbe@0 | 8 |
| jbe@0 | 9 Compile lf_update binary: |
| jbe@0 | 10 $ make |
| jbe@0 | 11 |
| jbe@0 | 12 If you wish, copy the created lf_update file to /usr/local/bin or a |
| jbe@0 | 13 similar directory. Ensure that "lf_update dbname=liquid_feedback" |
| jbe@0 | 14 is called regularly. On successful run, lf_update will not produce |
| jbe@0 | 15 any output and exit with code 0. |
| jbe@0 | 16 |
| jbe@0 | 17 NOTE: When writing to the database, some INSERTs must be executed |
| jbe@0 | 18 within the same transaction, e.g. issues can't exist without |
| jbe@0 | 19 an initiative and vice versa. |
| jbe@0 | 20 |
| jbe@0 | 21 To uninstall the software, delete the lf_update binary |
| jbe@0 | 22 and drop the database by entering the following command: |
| jbe@0 | 23 $ dropdb liquid_feedback |
| jbe@0 | 24 |