6 use Catalyst::Runtime '5.70';
8 # Set flags and add plugins for the application
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
16 use parent qw/Catalyst/;
18 our $VERSION = '0.01';
20 # Configure the application.
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
29 __PACKAGE__->config( name => 'NDWeb' );
30 __PACKAGE__->config->{'Plugin::Authentication'}{'use_session'} = 1;
34 # Start the application
35 __PACKAGE__->setup(qw/
41 Authentication::Store::NDWeb
42 Authentication::Credential::Password
49 Session::State::Cookie
54 NDWeb - Catalyst based application
58 script/ndweb_server.pl
62 [enter your description here]
66 L<NDWeb::Controller::Root>, L<Catalyst>
74 This library is free software, you can redistribute it and/or modify
75 it under the same terms as Perl itself.