Skip to content

Commit

Permalink
add Makefile.PL and symlink app.psgi
Browse files Browse the repository at this point in the history
  • Loading branch information
koorchik committed May 26, 2011
1 parent 0b701ce commit 84721a8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Makefile.PL
@@ -0,0 +1,11 @@
#!/usr/bin/env perl
use ExtUtils::MakeMaker;

WriteMakefile(
PREREQ_PM => {
'Mojolicious' => 0,
'DBIx::Simple' => 0,
'SQL::Abstract' => 0,
'DBD::SQLite' => 0,
}
);
1 change: 1 addition & 0 deletions app.psgi
2 changes: 1 addition & 1 deletion lib/FastNotes.pm
Expand Up @@ -13,7 +13,7 @@ sub startup {
$self->mode('development');
$self->sessions->default_expiration(3600*24*7);

my $config = $self->plugin('json_config');
my $config = $self->plugin( 'json_config' => { file=>'fastnotes.json' } );

my $r = $self->routes;
$r->namespace('FastNotes::Controller');
Expand Down
1 change: 1 addition & 0 deletions script/fastnotes.pl
Expand Up @@ -8,6 +8,7 @@

use lib "$FindBin::Bin/../lib";
use lib "$FindBin::Bin/../../lib";
use lib "$FindBin::Bin/lib";

# Check if Mojo is installed
eval 'use Mojolicious::Commands';
Expand Down

0 comments on commit 84721a8

Please sign in to comment.