Commit | Line | Data |
cc003be0 |
1 | package LolCatalyst::Lite; |
2 | |
3 | use strict; |
4 | use warnings; |
5 | |
6 | use Catalyst::Runtime '5.70'; |
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/; |
4344b5fd |
17 | use Catalyst qw/ConfigLoader |
cc003be0 |
18 | Static::Simple/; |
19 | our $VERSION = '0.01'; |
20 | |
21 | # Configure the application. |
22 | # |
23 | # Note that settings in lolcatalyst_lite.conf (or other external |
24 | # configuration file that you set up manually) take precedence |
25 | # over this when using ConfigLoader. Thus configuration |
26 | # details given here can function as a default configuration, |
27 | # with a external configuration file acting as an override for |
28 | # local deployment. |
29 | |
30 | __PACKAGE__->config( name => 'LolCatalyst::Lite' ); |
31 | |
32 | # Start the application |
33 | __PACKAGE__->setup(); |
34 | |
35 | |
36 | =head1 NAME |
37 | |
38 | LolCatalyst::Lite - Catalyst based application |
39 | |
40 | =head1 SYNOPSIS |
41 | |
42 | script/lolcatalyst_lite_server.pl |
43 | |
44 | =head1 DESCRIPTION |
45 | |
46 | [enter your description here] |
47 | |
48 | =head1 SEE ALSO |
49 | |
50 | L<LolCatalyst::Lite::Controller::Root>, L<Catalyst> |
51 | |
52 | =head1 AUTHOR |
53 | |
54 | Freya Jarrett |
55 | |
56 | =head1 LICENSE |
57 | |
58 | This library is free software, you can redistribute it and/or modify |
59 | it under the same terms as Perl itself. |
60 | |
61 | =cut |
62 | |
63 | 1; |