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  }}}
10
11  * edit ##wiki_apache.conf## to adapt it to your system, then move or symlink it to your Apache configuration directory
12  * customize your wiki instance by editing ##geekigeeki.conf.py##
13  * populate an initial git repository for your wiki:
14  {{{
15   cd wiki
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 cd wiki
30 git pull
31 cd data
32 git pull
33 }}}
34
35 to switch to a different version of GeekiGeeki:
36
37 {{{
38 git checkout {tree-ish}
39 }}}
40
41 where ##{tree-ish}## could be a tag, a branch name, or a specific commit.