about summary refs log tree commit diff
path: root/app.psgi
blob: 36435ece247544eebc72d09fb8c3f031e69fe236 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl
use strict;
use warnings;
use lib ('lib');
use File::Basename;
use presque;
use Plack::Builder;
use YAML::Syck;

my $conf = LoadFile('conf.yaml');
my $app = presque->app( config => $conf );

$app->template_path(dirname(__FILE__) . "/templates");
$app->static_path(dirname(__FILE__) . "/static");

$app;