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  * create a git repository for your wiki:
15  {{{
16  mkdir data
17  cd data
18  git init --shared=group
19  chgrp -R apache .
20  }}}
21  The last command is necessary to let apache write in the directory.  Debian-based
22  distributions use ##www-data## instead of ##apache##.
23  * reload Apache
24
25 == Update procedure ==
26
27 If you cloned the repository as suggested, updating and downgrading is easy:
28
29 {{{
30 git pull
31 }}}
32
33 to switch to a different version of GeekiGeeki:
34
35 {{{
36 git checkout {tree-ish}
37 }}}
38
39 where '##{tree-ish}## could be a tag, a branch name, or a specific commit.