Permalink
Browse files

releng

  • Loading branch information...
1 parent 9a58859 commit b613b79c7ba7c6ddd03e1d337b85dc2ca7a8b701 @miyagawa committed Oct 13, 2009
Showing with 23 additions and 6 deletions.
  1. +2 −0 Makefile.PL
  2. +13 −6 README
  3. +8 −0 lib/Perlbal/Plugin/PSGI.pm
View
2 Makefile.PL
@@ -3,6 +3,8 @@ name 'Perlbal-Plugin-PSGI';
all_from 'lib/Perlbal/Plugin/PSGI.pm';
readme_from 'lib/Perlbal/Plugin/PSGI.pm';
build_requires 'Test::More';
+requires 'Perlbal';
+requires 'Plack::Test::Suite';
use_test_base;
auto_include_deps;
author_tests('xt');
View
19 README
@@ -1,17 +1,24 @@
NAME
- Perlbal::Plugin::PSGI -
+ Perlbal::Plugin::PSGI - PSGI web server on Perlbal
SYNOPSIS
- use Perlbal::Plugin::PSGI;
+ LOAD PSGI
+ CREATE SERVICE psgi
+ SET role = web_server
+ SET listen = 127.0.0.1:80
+ SET plugins = psgi
+ PSGI_APP = /path/to/app.psgi
+ ENABLE psgi
DESCRIPTION
- Perlbal::Plugin::PSGI is
+ This is a Perlbal plugin to allow any PSGI application run natively
+ inside Perlbal process.
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
+ Based on Perlbal::Plugin::Cgilike written by Martin Atkins.
+
LICENSE
- This library is free software; you can redistribute it and/or modify it
- under the same terms as Perl itself.
+ This module is licensed under the same terms as Perl itself.
-SEE ALSO
View
8 lib/Perlbal/Plugin/PSGI.pm
@@ -1,5 +1,9 @@
package Perlbal::Plugin::PSGI;
use strict;
+use warnings;
+use 5.008_001;
+our $VERSION = '0.01';
+
use Perlbal;
use Plack::Util;
use Plack::HTTPParser qw(parse_http_request);
@@ -119,4 +123,8 @@ Tatsuhiko Miyagawa E<lt>miyagawa@bulknews.netE<gt>
Based on Perlbal::Plugin::Cgilike written by Martin Atkins.
+=head1 LICENSE
+
+This module is licensed under the same terms as Perl itself.
+
=cut

0 comments on commit b613b79

Please sign in to comment.