]> ruin.nu Git - ndwebbie.git/blob - lib/NDWeb.pm
Initial commit of catalyst files
[ndwebbie.git] / lib / NDWeb.pm
1 package NDWeb;
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 parent qw/Catalyst/;
17
18 our $VERSION = '0.01';
19
20 # Configure the application. 
21 #
22 # Note that settings in ndweb.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 => 'NDWeb' );
30
31 # Start the application
32 __PACKAGE__->setup(qw/-Debug ConfigLoader Static::Simple/);
33
34
35 =head1 NAME
36
37 NDWeb - Catalyst based application
38
39 =head1 SYNOPSIS
40
41     script/ndweb_server.pl
42
43 =head1 DESCRIPTION
44
45 [enter your description here]
46
47 =head1 SEE ALSO
48
49 L<NDWeb::Controller::Root>, L<Catalyst>
50
51 =head1 AUTHOR
52
53 Catalyst developer
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;