liquid_feedback_frontend
annotate README @ 103:7d0f4721d2f3
setting <title> tag. fallback: take class="title"-contents
| author | jorges |
|---|---|
| date | Mon Sep 20 01:18:03 2010 +0200 (2010-09-20) |
| parents | 134fce4bede3 |
| children | adc1b0554667 |
| rev | line source |
|---|---|
| bsw/jbe@19 | 1 |
| bsw/jbe@19 | 2 ################ |
| bsw/jbe@19 | 3 # Installation # |
| bsw/jbe@19 | 4 ################ |
| bsw/jbe@19 | 5 |
| bsw/jbe@19 | 6 |
| bsw/jbe@19 | 7 1. Choose a directory where to install the software, e.g. /opt : |
| bsw/jbe@19 | 8 |
| bsw/jbe@19 | 9 $ cd /opt |
| bsw/jbe@19 | 10 |
| bsw/jbe@19 | 11 |
| bsw/jbe@19 | 12 2. Get the repositories of the core, the frondend and the web application |
| bsw/jbe@19 | 13 framework WebMCP: |
| bsw/jbe@19 | 14 |
| bsw/jbe@19 | 15 $ hg clone http://www.public-software-group.org/mercurial/liquid_feedback_core |
| bsw/jbe@19 | 16 $ hg clone http://www.public-software-group.org/mercurial/liquid_feedback_frontend |
| bsw/jbe@19 | 17 $ hg clone http://www.public-software-group.org/mercurial/webmcp |
| bsw/jbe@19 | 18 |
| bsw/jbe@19 | 19 |
| bsw/jbe@19 | 20 3. Install LiquidFeedback Core: |
| bsw/jbe@19 | 21 |
| bsw/jbe@19 | 22 $ cd /opt/liquid_feedback_core |
| bsw/jbe@19 | 23 $ make |
| bsw/jbe@19 | 24 $ createdb liquid_feedback |
| bsw/jbe@19 | 25 $ psql -v ON_ERROR_STOP=1 -f core.sql liquid_feedback |
| bsw/jbe@19 | 26 |
| bsw/jbe@19 | 27 You should initiatize your database using the command |
| bsw/jbe@19 | 28 "psql liquid_feedback" and the examples shown in file "init.sql". |
| bsw/jbe@19 | 29 |
| bsw/jbe@19 | 30 |
| bsw/jbe@19 | 31 4. Compile WebMCP |
| bsw/jbe@19 | 32 |
| bsw/jbe@19 | 33 $ cd /opt/webmcp |
| bsw/jbe@19 | 34 $ make |
| bsw/jbe@19 | 35 |
| bsw/jbe@19 | 36 If you experience trouble during compilation, you might want to edit the |
| bsw/jbe@19 | 37 file "Makefile.options" (i.e. to add -fPIC to compiler options) and then |
| bsw/jbe@19 | 38 retry: |
| bsw/jbe@19 | 39 |
| bsw/jbe@19 | 40 $ vi Makefile.options |
| bsw/jbe@19 | 41 $ make clean |
| bsw/jbe@19 | 42 $ make |
| bsw/jbe@19 | 43 |
| bsw/jbe@19 | 44 |
| bsw/jbe@19 | 45 5. Install Wiki-to-HTML converters |
| bsw/jbe@19 | 46 |
| bsw/jbe@19 | 47 Download latest LiquidFeedback Edition of RocketWiki from |
| bsw/jbe@19 | 48 http://www.public-software-group.org/pub/projects/rocketwiki/liquid_feedback_edition/ |
| bsw/jbe@19 | 49 |
| bsw/jbe@19 | 50 Compile the binaries by calling make, and copy them to a place of your |
| bsw/jbe@19 | 51 choice, e.g. /opt/rocketwiki-lqfb/ |
| bsw/jbe@19 | 52 |
| bsw/jbe@19 | 53 |
| bsw/jbe@19 | 54 6. Configure the webserver and the LiquidFeedback Frontend application: |
| bsw/jbe@19 | 55 |
| bsw/jbe@19 | 56 Edit the configuration files in /opt/liquid_feedback_frontend/config/ |
| bsw/jbe@19 | 57 |
| bsw/jbe@19 | 58 Use /opt/webmcp/doc/lighttpd.example.conf (or apache.sample.conf) to setup |
| bsw/jbe@19 | 59 your webserver appropriatly. |
| bsw/jbe@19 | 60 |
| bsw/jbe@19 | 61 |
| bsw@81 | 62 7. Compile help messages from wiki to html |
| bsw@81 | 63 |
| bsw@81 | 64 cd /opt/liquid_feedback_frontend/locale/help |
| bsw@81 | 65 for file in *.txt; do /opt/rocketwiki-lqfb/rocketwiki-lqfb < $file > $file.html; done |
| bsw@81 | 66 |
| bsw@81 | 67 |
| bsw@81 | 68 |