2 .\" Copyright (c) 2020 Stefan Sperling
4 .\" Permission to use, copy, modify, and distribute this software for any
5 .\" purpose with or without fee is hereby granted, provided that the above
6 .\" copyright notice and this permission notice appear in all copies.
8 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 .Nd Game of Trees Git Fast-CGI repository server for web browsers
26 is a Fast-CGI server program which can display the contents of Git
27 repositories via a web browser.
28 The program has been designed to work out of the box with
35 requires the following steps:
40 configuration file must be adjusted to run
42 as a Fast-CGI helper program.
45 section below contains an appropriate configuration file sample.
47 httpd(8) must be enabled and started:
48 .Bd -literal -offset indent
53 Optionally, the run-time behaviour of
55 can be configured via the
59 Git repositories must be created at a suitable location inside the
63 These repositories should
65 be writable by the user ID of the
68 The default location for repositories published by
71 .Pa /var/www/got/public .
73 Git repositories served by
75 should be kept up-to-date with a mechanism such as
84 .Bl -tag -width /var/www/got/public/ -compact
85 .It Pa /var/www/got/public/
86 Default location for Git repositories served by
88 This location can be adjusted in the
91 .It Pa /var/www/bin/gotwebd/
92 Directory containing statically linked
94 helper programs which are run by
96 to read Git repositories.
97 .It Pa /var/www/htdocs/gotwebd/
98 Directory containing HTML, CSS, and image files used by
101 Directory for temporary files created by
105 Example configuration for httpd.conf:
106 .Bd -literal -offset indent
108 types { include "/usr/share/misc/mime.types" }
109 server "gotweb.example.com" {
112 location "/gotwebd-unix/*" {
113 fastcgi socket "/run/gotweb.sock"
115 location "/gotwebd-tcp/*" {
116 fastcgi socket tcp 127.0.0.1 9000
119 directory index "index.html"
125 .Xr git-repository 5 ,
129 .An Omar Polo Aq Mt op@openbsd.org
130 .An Stefan Sperling Aq Mt stsp@openbsd.org
131 .An Tracey Emery Aq Mt tracey@traceyemery.net