Skip to content
Browse files

add Makefile.PL and symlink app.psgi

  • Loading branch information...
1 parent 0b701ce commit 84721a8832ade793a26fa4d8f3a8b515237bdd95 @koorchik committed
Showing with 14 additions and 1 deletion.
  1. +11 −0 Makefile.PL
  2. +1 −0 app.psgi
  3. +1 −1 lib/FastNotes.pm
  4. +1 −0 script/fastnotes.pl
View
11 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,
+ }
+);
View
1 app.psgi
View
2 lib/FastNotes.pm
@@ -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');
View
1 script/fastnotes.pl
@@ -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';

0 comments on commit 84721a8

Please sign in to comment.
Something went wrong with that request. Please try again.