3 use namespace
::autoclean
;
5 use Catalyst
::Runtime
5.80;
7 # Set flags and add plugins for the application.
9 # Note that ORDERING IS IMPORTANT here as plugins are initialized in order,
10 # therefore you almost certainly want to keep ConfigLoader at the head of the
11 # list if you're using it.
13 # -Debug: activates the debug mode for very useful log messages
14 # ConfigLoader: will load the configuration from a Config::General file in the
15 # application's home directory
16 # Static::Simple: will serve static files from the application's root
25 Session
::Store
::FastMmap
26 Session
::State
::Cookie
32 our $VERSION = '0.01';
34 # Configure the application.
36 # Note that settings in chatty.conf (or other external
37 # configuration file that you set up manually) take precedence
38 # over this when using ConfigLoader. Thus configuration
39 # details given here can function as a default configuration,
40 # with an external configuration file acting as an override for
45 using_frontend_proxy
=> 1,
46 # Disable deprecated behavior needed by old applications
47 disable_component_resolution_regex_fallback
=> 1,
48 'Plugin::Authentication' => {
51 user_model
=> 'DB::Account',
52 password_type
=> 'clear',
55 'Plugin::Session' => {
58 default_view
=> 'HTML',
60 expose_stash
=> 'json',
64 # Start the application
70 Chatty - Catalyst based application
74 script/chatty_server.pl
78 [enter your description here]
82 L<Chatty::Controller::Root>, L<Catalyst>
90 This library is free software. You can redistribute it and/or modify
91 it under the same terms as Perl itself.