summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-05-16 17:53:50 -0400
committerJason Woodward2010-05-16 17:53:50 -0400
commit673e92938f81f75b11547546f66d10a96367696d (patch)
tree8f38be2d4c9d27a1ebca635eadfec9c2250464ea
parentbce4be64c2d91547affcecbbcea5b22f308e40b6 (diff)
downloadJaos-WebApp-673e92938f81f75b11547546f66d10a96367696d.tar.gz
added deployment pod
-rw-r--r--lib/Jaos/WebApp.pm24
1 files changed, 23 insertions, 1 deletions
diff --git a/lib/Jaos/WebApp.pm b/lib/Jaos/WebApp.pm
index 5f11a0b..17cecc4 100644
--- a/lib/Jaos/WebApp.pm
+++ b/lib/Jaos/WebApp.pm
@@ -204,7 +204,29 @@ Jaos::WebApp - Minimal web application framework
=head1 DESCRIPTION
-This is a minimal web application framework designed to be deployed on top of L<Plack>. It has not required non-CORE modules and is very minimal. Additional functionality can be added by extending the framework through plugins.
+This is a minimal web application framework designed to be deployed on top of L<Plack>. It has no non-CORE module requirements and is very minimal. Additional functionality can be added by extending the framework through plugins.
+
+=head1 DEPLOYING
+
+Here are some examples of how to deploy the application with Plack.
+
+=head2 Apache2/mod_perl
+
+ <IfModule mod_perl.c>
+ <Perl>
+ use Plack::Handler::Apache2;
+ Plack::Handler::Apache2->preload("/path/to/application.psgi");
+ </Perl>
+ <Location />
+ SetHandler perl-script
+ PerlResponseHandler Plack::Handler::Apache2
+ PerlSetVar psgi_app /path/to/application.psgi
+ </Location>
+ </IfModule>
+
+=head2 plackup command line utility to run PSGI applications
+
+ plackup application.psgi
=head1 METHODS