Dropped the use of CGI->header in gitweb.cgi.
[catagits/Gitalist.git] / Gitalist / lib / Gitalist.pm
CommitLineData
89de6a33 1package Gitalist;
2
3use strict;
4use warnings;
5
6use Catalyst::Runtime 5.80;
7
8# Set flags and add plugins for the application
9#
10# -Debug: activates the debug mode for very useful log messages
11# ConfigLoader: will load the configuration from a Config::General file in the
12# application's home directory
13# Static::Simple: will serve static files from the application's root
14# directory
15
16use parent qw/Catalyst/;
17use Catalyst qw/-Debug
18 ConfigLoader
19 Static::Simple/;
20our $VERSION = '0.01';
21
22# Configure the application.
23#
24# Note that settings in gitalist.conf (or other external
25# configuration file that you set up manually) take precedence
26# over this when using ConfigLoader. Thus configuration
27# details given here can function as a default configuration,
28# with an external configuration file acting as an override for
29# local deployment.
30
31__PACKAGE__->config( name => 'Gitalist' );
32
33# Start the application
34__PACKAGE__->setup();
35
36require '/var/www/cgi-bin/gitalist/gitweb.cgi';
37
38=head1 NAME
39
40Gitalist - Catalyst based application
41
42=head1 SYNOPSIS
43
44 script/gitalist_server.pl
45
46=head1 DESCRIPTION
47
48[enter your description here]
49
50=head1 SEE ALSO
51
52L<Gitalist::Controller::Root>, L<Catalyst>
53
54=head1 AUTHOR
55
56Dan Brook,,,
57
58=head1 LICENSE
59
60This library is free software. You can redistribute it and/or modify
61it under the same terms as Perl itself.
62
63=cut
64
651;