|
diff --git a/README b/README index a14418e..6d661d8 100644 --- a/ README+++ b/ README |
|
@@ -8,19 +8,35 @@ builtin cache to decrease server io-pressure. |
8 | |
8 | |
9 | Installation |
9 | Installation |
10 | |
10 | |
11 | $ make gitsrc=<path> |
11 | $ make |
12 | $ su |
12 | $ su |
13 | $ make prefix=<path> install |
13 | $ make install |
14 | |
14 | |
| |
15 | This will install cgit.cgi and cgit.css into "/var/www/htdocs/cgit". |
15 | |
16 | |
16 | Default value for gitsrc is "../git", and this directory should contain the |
17 | Note: The initial "make" will create a submodule 'git' and clone the git |
17 | git sources. |
18 | repository at git://git.kernel.org/pub/scm/git/git.git in it. If you |
| |
19 | already have a local git git repository that you want to use as origin |
| |
20 | for the submodule, run |
18 | |
21 | |
19 | Default value for prefix is "/var/www/htdocs/cgit". This directory will |
22 | $ git clone -s <path-to-git-repo> git |
20 | contain "cgit.cgi" and "cgit.css" after 'make install'. |
23 | $ ./submodules.sh -u |
21 | |
24 | |
22 | After installation, httpd.conf probably must be updated with a Directory- |
25 | before running "make". |
23 | section for cgit, possibly something like this: |
26 | |
| |
27 | |
| |
28 | Dependencies |
| |
29 | |
| |
30 | -git (1.5.2-rc0 or newer, due to git submodule) installed |
| |
31 | -zip lib |
| |
32 | -crypto lib |
| |
33 | -openssl lib |
| |
34 | |
| |
35 | |
| |
36 | Apache configuration |
| |
37 | |
| |
38 | A new Directory-section must probably be added for cgit, possibly something |
| |
39 | like this: |
24 | |
40 | |
25 | <Directory "/var/www/htdocs/cgit/"> |
41 | <Directory "/var/www/htdocs/cgit/"> |
26 | AllowOverride None |
42 | AllowOverride None |
@@ -53,3 +69,13 @@ throughput over page freshness. |
53 | |
69 | |
54 | The generated content contains the complete response to the client, including |
70 | The generated content contains the complete response to the client, including |
55 | the http-headers "Modified" and "Expires". |
71 | the http-headers "Modified" and "Expires". |
| |
72 | |
| |
73 | |
| |
74 | The mis(sing) features |
| |
75 | |
| |
76 | Submodule links in the directory listing page have a fixed format per |
| |
77 | repository. This should probably be extended to a generic map between |
| |
78 | submodule path and url. |
| |
79 | |
| |
80 | |
| |
81 | The end. |
|