Added gitweb.cgi copyright info. Thanks to chrisa for pointing that out!
[catagits/Gitalist.git] / Gitalist / lib / Gitalist.pm
1 package Gitalist;
2
3 use strict;
4 use warnings;
5
6 use 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
16 use parent qw/Catalyst/;
17 use Catalyst qw/-Debug
18                 ConfigLoader
19                 Static::Simple/;
20 our $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(
32         name => 'Gitalist',
33         default_view => 'Default',
34 );
35
36 # Start the application
37 __PACKAGE__->setup();
38
39 require '/var/www/cgi-bin/gitalist/gitweb.cgi';
40
41 =head1 NAME
42
43 Gitalist - Catalyst based application
44
45 =head1 SYNOPSIS
46
47     script/gitalist_server.pl
48
49 =head1 DESCRIPTION
50
51 [enter your description here]
52
53 =head1 SEE ALSO
54
55 L<Gitalist::Controller::Root>, L<Catalyst>
56
57 =head1 AUTHOR
58
59 Dan Brook,,,
60
61 =head1 LICENSE
62
63 This library is free software. You can redistribute it and/or modify
64 it under the same terms as Perl itself.
65
66 =cut
67
68 1;