From cf2fb8b62ccc867c5aacb347abaacdf9fbf99f9f Mon Sep 17 00:00:00 2001 From: bt Date: Wed, 17 Jan 2024 13:28:47 -0500 Subject: --- wiki/cgit.mdwn | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'wiki') diff --git a/wiki/cgit.mdwn b/wiki/cgit.mdwn index 173bdb6..ebee41c 100644 --- a/wiki/cgit.mdwn +++ b/wiki/cgit.mdwn @@ -32,10 +32,24 @@ Build and install it: ## Configuration -Make a text file named `cgitrc` where you specified for CGIT_CONFIG and add the following: +Make a text file named `cgitrc` where you specified for CGIT_CONFIG and add the following (these are some personal defaults to make thins cleaner): - css=/cgit.css logo=/cgit.png - root-title=My Git Repositories + root-title=bt's git repos + root-desc=personal git repos for btxx.org + root-readme=/home/public/about.md + virtual-root=/ + + about-filter=/home/public/cgit-src/filters/about-formatting.sh + readme=:README.md + readme=:README + + include=/home/protected/cgitrepos + +The in the specified file (`cgitrepos`), place your repos, ex: + + repo.url=MyRepo + repo.path=/home/public/MyRepo.git + repo.desc=This is my git repository **And you should be good to go!** -- cgit v1.2.3-54-g00ecf