greenhouse

greenhouse

minimal software forge

git clone git@git.lostduk.com:greenhouse.git

greenhouse / petal / README34 lines · 887B · raw

1petal - git web interface
2=========================
3petal is a CGI program that shows bare git repositories: an index,
4log, tree, raw files, commits with diffs, and refs.
5
6
7Requirements
8------------
9In order to build petal you need the libgit2 header files.
10
11
12Installation
13------------
14Edit config.mk to match your local setup (petal is installed into
15the /usr/local namespace by default).
16
17Afterwards enter the following command to build and install petal (if
18necessary as root):
19
20    make clean install
21
22
23Running petal
24-------------
25Run petal as a CGI program, for example with nginx and fcgiwrap, and
26serve style.css and icon.svg from share/petal. Only repositories that
27contain git-daemon-export-ok are shown. See petal(1) for an example
28configuration.
29
30
31Configuration
32-------------
33The configuration of petal is done by creating a custom config.h
34and (re)compiling the source code.