aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README34
1 files changed, 25 insertions, 9 deletions
diff --git a/README b/README
index 17e284e..a14418e 100644
--- a/README
+++ b/README
@@ -8,20 +8,36 @@ builtin cache to decrease server io-pressure.
8 8
9Installation 9Installation
10 10
11$ $EDITOR Makefile 11 $ make gitsrc=<path>
12$ make 12 $ su
13$ sudo make install 13 $ make prefix=<path> install
14 14
15Note: cgit requires the git and xdiff libraries. Currently, the makefile 15
16expects these files to be found in '../git/libgit.a' and '../git/xdiff/lib.a', 16Default value for gitsrc is "../git", and this directory should contain the
17where they will be if you have built git from source in a parallell directory. 17git sources.
18
19Default value for prefix is "/var/www/htdocs/cgit". This directory will
20contain "cgit.cgi" and "cgit.css" after 'make install'.
21
22After installation, httpd.conf probably must be updated with a Directory-
23section for cgit, possibly something like this:
24
25 <Directory "/var/www/htdocs/cgit/">
26 AllowOverride None
27 Options ExecCGI
28 Order allow,deny
29 Allow from all
30 </Directory>
18 31
19 32
20Runtime configuration 33Runtime configuration
21 34
22The file /etc/cgitrc is read by cgit before handling a request. A template 35The file /etc/cgitrc is read by cgit before handling a request. In addition
23cgitrc is shipped with the sources, and all parameters and default values 36to runtime parameters, this file also contains a list of the repositories
24can be found in this file. 37displayed by cgit.
38
39A template cgitrc is shipped with the sources, and all parameters and default
40values are documented in this file.
25 41
26 42
27The cache 43The cache