Cgit: Difference between revisions

From Alpine Linux
(Created page with "{{Draft}} [http://hjemli.net/git/cgit/ cgit] is a CGI-application that was written in C and a web interface for git repositories provides. Running instance: [http://git.alpinel...")
 
mNo edit summary
Line 11: Line 11:
Install cgit
Install cgit


{{cmd|apk add cgit}}
{{cmd|apk add cgit git}}
 
Initialize a sample git repository
 
{{cmd|git init --bar /var/git/sample.git}}
 
Uncomment this line
 
include=/etc/cgitrepos
 
{{cmd|touch /etc/cgitrepos}}
 
<pre>
repo.url=sample
repo.path=/var/git/sample.git
repo.desc=Sample master foo repository
repo.owner=sample@example.com
repo.readme=info/web/about.html
</pre>
 
if you want to group your repositories, add the every repository to a group.
 
repo.group=Sample group
 
 


[[Category:Networking]]
[[Category:Networking]]

Revision as of 15:02, 16 June 2011

This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Fab on 16 Jun 2011.)

cgit is a CGI-application that was written in C and a web interface for git repositories provides.

Running instance: git.alpinelinux.org

Lighttpd

Lighttpd

cgit

Install cgit

apk add cgit git

Initialize a sample git repository

git init --bar /var/git/sample.git

Uncomment this line

include=/etc/cgitrepos

touch /etc/cgitrepos

repo.url=sample
repo.path=/var/git/sample.git
repo.desc=Sample master foo repository
repo.owner=sample@example.com
repo.readme=info/web/about.html

if you want to group your repositories, add the every repository to a group.

repo.group=Sample group