aboutsummaryrefslogblamecommitdiffstats
path: root/www-apps/cgit/files/postinstall-en.txt
blob: 94280c80b66f19d9b3769fe443f37ef62ec9c4b7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                               
There is a few variants of configuration:
1) Via global config file: /etc/cgitrc
2) Or via local config file, shipped in ./conf dir into webapp_dir. It has to
   be explicitly specified with CGIT_CONFIG env variable in your web server
   configuration.

If you would like to update the list of git repositories in cgit automatically,
you might consider adding something similar to the following as a cronjob:

"${MY_CGIBINDIR}/cgit.cgi --scan-tree=/git/repo-parent-path > /etc/cgit-repos"

Then add "include=/etc/cgit-repos" in /etc/cgitrc. This way it's simpler and
more convenient. You won't need to update your cgitrc every time you add a new
repository.