Deal with the singular case better
[catagits/Gitalist.git] / README
CommitLineData
9eaaf804 1NAME
f3c25197 2 Gitalist - A modern git web viewer
4534cd82 3
9eaaf804 4SYNOPSIS
63f34424 5 script/gitalist_server.pl --repo_dir /home/me/code/git
4534cd82 6
b6d010e1 7INSTALL
8 As Gitalist follows the usual Perl module format the usual approach for
63f34424 9 installation should work e.g.
b6d010e1 10
11 perl Makefile.PL
12 make
13 make test
14 make install
15
63f34424 16 or
17
18 cpan -i Gitalist
19
20 You can also check gitalist out from git and run it, in this case you'll
21 additionally need the author modules, but no configuration will be
22 needed as it will default to looking for repositories the directory
23 above the checkout.
b6d010e1 24
9eaaf804 25DESCRIPTION
b6d010e1 26 Gitalist is a web frontend for git repositories based on gitweb.cgi and
f3c25197 27 backed by Catalyst.
b6d010e1 28
29 History
30 This project started off as an attempt to port gitweb.cgi to a Catalyst
31 app in a piecemeal fashion. As it turns out, thanks largely to Florian
32 Ragwitz's earlier effort, it was easier to use gitweb.cgi as a template
33 for building a new Catalyst application.
4534cd82 34
63f34424 35CONFIGURATION
36 Gitalist can be supplied with a config file by setting the
37 "GITALIST_CONFIG" environment variable to point to a configuration file.
38
39 A default configuration is installed along with gitalist, which is
40 complete except for a repository directory. You can get a copy of this
41 configuration by running:
42
43 cp `perl -Ilib -MGitalist -e'print Gitalist->path_to("gitalist.conf")'` gitalist.conf
44
45 adding a repos_dir path and then setting "GITALIST_CONFIG".
46
47 Alternatively, if you only want to set a repository directory and are
48 otherwise happy with the default configuration, then you can set the
49 "GITALIST_REPOS_DIR" environment variable, or pass the "--repos_dir"
50 flag to any of the scripts.
51
52 The "GITALIST_REPOS_DIR" environment variable will override the
53 repository directory set in configuration, and will itself be overridden
54 by he "--repos_dir" flag.
55
9eaaf804 56SEE ALSO
b6d010e1 57 Gitalist::Controller::Root
58
59 Gitalist::Git::Project
60
61 Catalyst
8927fe98 62
9eaaf804 63AUTHORS AND COPYRIGHT
64 Catalyst application:
b6d010e1 65 (C) 2009 Venda Ltd and Dan Brook <broq@cpan.org>
66 (C) 2009, Tom Doran <bobtfish@bobtfish.net>
67 (C) 2009, Zac Stevens <zts@cryptocracy.com>
8927fe98 68
9eaaf804 69 Original gitweb.cgi from which this was derived:
70 (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>
71 (C) 2005, Christian Gierke
8927fe98 72
b6d010e1 73 Model based on http://github.com/rafl/gitweb
74 (C) 2008, Florian Ragwitz
4534cd82 75
b6d010e1 76LICENSE
77 Licensed under GNU GPL v2
4534cd82 78