liquid_feedback_core
view README @ 4:6133c0a62378
Version beta5
Precalculation of certain values to increase performance:
- Count of active members per area
- Count of active members altogether
- Count of people involved in the voting process for an issue
Minor bugfix in function close_voting(...) related to initiatives having no positive or negative votes
Precalculation of certain values to increase performance:
- Count of active members per area
- Count of active members altogether
- Count of people involved in the voting process for an issue
Minor bugfix in function close_voting(...) related to initiatives having no positive or negative votes
| author | jbe |
|---|---|
| date | Sun Nov 15 12:00:00 2009 +0100 (2009-11-15) |
| parents | 8d021cb5eaf4 |
| children | e6faf5ff83af |
line source
2 Setup the database:
3 $ createdb liquid_feedback
4 $ psql -v ON_ERROR_STOP=1 -f core.sql liquid_feedback
6 Optionally insert demo data:
7 $ psql -v ON_ERROR_STOP=1 -f demo.sql liquid_feedback
9 Compile lf_update binary:
10 $ make
12 If you wish, copy the created lf_update file to /usr/local/bin or a
13 similar directory. Ensure that "lf_update dbname=liquid_feedback"
14 is called regularly. On successful run, lf_update will not produce
15 any output and exit with code 0.
17 NOTE: When writing to the database, some INSERTs must be executed
18 within the same transaction, e.g. issues can't exist without
19 an initiative and vice versa.
21 To uninstall the software, delete the lf_update binary
22 and drop the database by entering the following command:
23 $ dropdb liquid_feedback
