summaryrefslogtreecommitdiff
path: root/app.psgi
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-04-13 18:46:54 +0200
committerfranck cuny <franck@lumberjaph.net>2010-04-13 18:46:54 +0200
commitd18213e3c6956540e21d738b411b00e9eb71dc4e (patch)
tree784913af63e25499c89033682b2caccfc2d000dd /app.psgi
parentinitial commit (diff)
downloadpresque-d18213e3c6956540e21d738b411b00e9eb71dc4e.tar.gz
basic REST job queue using tatsumaki + redis
Diffstat (limited to '')
-rw-r--r--app.psgi11
1 files changed, 11 insertions, 0 deletions
diff --git a/app.psgi b/app.psgi
new file mode 100644
index 0000000..9473ea3
--- /dev/null
+++ b/app.psgi
@@ -0,0 +1,11 @@
+#!/usr/bin/perl
+use strict;
+use warnings;
+use lib ('lib');
+
+use presque;
+use Plack::Builder;
+use YAML::Syck;
+
+my $conf = LoadFile('conf.yaml');
+my $app = presque->app( config => $conf );