Commit | Line | Data |
7adfd53f |
1 | package ComponentUI; |
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 YAML file in the |
12 | # application's home directory |
13 | # Static::Simple: will serve static files from the application's root |
14 | # directory |
15 | |
1d388500 |
16 | use Catalyst qw/ ConfigLoader Static::Simple I18N /; |
7adfd53f |
17 | |
18 | our $VERSION = '0.01'; |
19 | |
20 | # Configure the application. |
21 | # |
22 | # Note that settings in ComponentUI.yml (or other external |
23 | # configuration file that you set up manually) take precedence |
24 | # over this when using ConfigLoader. Thus configuration |
25 | # details given here can function as a default configuration, |
26 | # with a external configuration file acting as an override for |
27 | # local deployment. |
28 | |
29 | __PACKAGE__->config( name => 'ComponentUI' ); |
30 | |
31 | # Start the application |
32 | __PACKAGE__->setup; |
33 | |
34 | |
35 | =head1 NAME |
36 | |
37 | ComponentUI - Catalyst based application |
38 | |
39 | =head1 SYNOPSIS |
40 | |
41 | script/componentui_server.pl |
42 | |
43 | =head1 DESCRIPTION |
44 | |
45 | [enter your description here] |
46 | |
47 | =head1 SEE ALSO |
48 | |
49 | L<ComponentUI::Controller::Root>, L<Catalyst> |
50 | |
51 | =head1 AUTHORS |
52 | |
53 | See L<Reaction::Class> for authors. |
54 | |
55 | =head1 LICENSE |
56 | |
57 | See L<Reaction::Class> for the license. |
58 | |
59 | =cut |
60 | |
61 | 1; |