Last change
on this file since 98 was
98,
checked in by nanardon, 15 years ago
|
- add template and kill debug mode
|
File size:
1.4 KB
|
Line | |
---|
1 | package LATMOS::Accounts::Web; |
---|
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 | |
---|
16 | use Catalyst qw/ConfigLoader Static::Simple/; |
---|
17 | |
---|
18 | our $VERSION = '0.01'; |
---|
19 | |
---|
20 | # Configure the application. |
---|
21 | # |
---|
22 | # Note that settings in LATMOS::Accounts::Web.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 => 'LATMOS::Accounts::Web' ); |
---|
30 | |
---|
31 | # Start the application |
---|
32 | __PACKAGE__->setup; |
---|
33 | |
---|
34 | |
---|
35 | =head1 NAME |
---|
36 | |
---|
37 | LATMOS::Accounts::Web - Catalyst based application |
---|
38 | |
---|
39 | =head1 SYNOPSIS |
---|
40 | |
---|
41 | script/latmos_accounts_web_server.pl |
---|
42 | |
---|
43 | =head1 DESCRIPTION |
---|
44 | |
---|
45 | [enter your description here] |
---|
46 | |
---|
47 | =head1 SEE ALSO |
---|
48 | |
---|
49 | L<LATMOS::Accounts::Web::Controller::Root>, L<Catalyst> |
---|
50 | |
---|
51 | =head1 AUTHOR |
---|
52 | |
---|
53 | Thauvin Olivier |
---|
54 | |
---|
55 | =head1 LICENSE |
---|
56 | |
---|
57 | This library is free software, you can redistribute it and/or modify |
---|
58 | it under the same terms as Perl itself. |
---|
59 | |
---|
60 | =cut |
---|
61 | |
---|
62 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.