Edit page geeki/install
[wiki.git] / geeki / install
1 == Easy installation ==
2
3 The easiest installation procedure is:
4
5  * clone the git repository of GeekiGeeki anywhere you like:
6  {{{
7  cd public_html
8  git clone git://codewiz.org/~bernie/geekigeeki.git wiki
9  cd wiki
10  }}}
11
12  * edit ##wiki_apache.conf## to adapt it to your system, then move or symlink it to your Apache configuration directory
13  * customize your wiki instance by editing ##geekigeeki.conf.py##
14  * populate an initial git repository for your wiki:
15  {{{
16   git clone --shared git://codewiz.org/~bernie/geekigeeki_data.git data
17   chgrp -R apache data
18  }}}
19  The last command is necessary to let the web server write in the directory.
20  Debian-based distributions use ##www-data## instead of ##apache##.  OpenSUSE
21  uses ##www##.
22  * reload or restart the web server
23
24 == Update procedure ==
25
26 If you cloned the repository as suggested, updating and downgrading is easy:
27
28 {{{
29 git pull
30 }}}
31
32 to switch to a different version of GeekiGeeki:
33
34 {{{
35 git checkout {tree-ish}
36 }}}
37
38 where '##{tree-ish}## could be a tag, a branch name, or a specific commit.