3 use namespace::autoclean;
5 use Catalyst::Runtime 5.80;
7 use Search::GIN::Extract::Class;
8 use Search::GIN::Extract::Attributes;
9 use Search::GIN::Extract::Multiplex;
11 # Set flags and add plugins for the application.
13 # Note that ORDERING IS IMPORTANT here as plugins are initialized in order,
14 # therefore you almost certainly want to keep ConfigLoader at the head of the
15 # list if you're using it.
17 # -Debug: activates the debug mode for very useful log messages
18 # ConfigLoader: will load the configuration from a Config::General file in the
19 # application's home directory
20 # Static::Simple: will serve static files from the application's root
27 +CatalystX::SimpleLogin
31 Session::State::Cookie
36 our $VERSION = '0.01';
38 # Configure the application.
40 # Note that settings in stemmaweb.conf (or other external
41 # configuration file that you set up manually) take precedence
42 # over this when using ConfigLoader. Thus configuration
43 # details given here can function as a default configuration,
44 # with an external configuration file acting as an override for
49 # Disable deprecated behavior needed by old applications
50 disable_component_resolution_regex_fallback => 1,
53 expose_stash => 'result',
57 stemmaweb->path_to( 'root', 'src' ),
60 ## kiokudb auth store testing
61 'Plugin::Authentication' => {
65 password_field => 'password',
66 password_type => 'self_check',
69 class => 'Model::KiokuDB',
76 # Start the application
82 stemmaweb - Catalyst based application
86 script/stemmaweb_server.pl
90 [enter your description here]
94 L<stemmaweb::Controller::Root>, L<Catalyst>
102 This library is free software. You can redistribute it and/or modify
103 it under the same terms as Perl itself.