root/Mixxi/trunk/lib/Mixxi.pm

Revision 2067 (checked in by miyagawa, 13 years ago)

import Mixxi tinyurl

Line 
1 package Mixxi;
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/-Debug ConfigLoader Static::Simple/;
17
18 our $VERSION = '0.01';
19
20 # Configure the application.
21 #
22 # Note that settings in Mixxi.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 => 'Mixxi' );
30
31 # Start the application
32 __PACKAGE__->setup;
33
34
35 =head1 NAME
36
37 Mixxi - Catalyst based application
38
39 =head1 SYNOPSIS
40
41     script/mixxi_server.pl
42
43 =head1 DESCRIPTION
44
45 [enter your description here]
46
47 =head1 SEE ALSO
48
49 L<Mixxi::Controller::Root>, L<Catalyst>
50
51 =head1 AUTHOR
52
53 Tatsuhiko Miyagawa,,,
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 browser.