NAME
Leyland::Manual::Deployment - How to deploy Leyland applications
VERSION
version 1.000001
QUICK-STARTING YOUR APPLICATION
Since Leyland is Plack based, running and deploying your applications is easy. During development and testing, the quickest way to start your application is to change into the application's directory and run plackup with no arguments (or with the name of your PSGI file). This will start the application under the "development" Plack environment, listening on port 5000, so you'd be able to point your web browser to http://localhost:5000/ and start testing your app.
DEPLOYING YOUR APPLICATION
When your application is ready for prime time, Plack's standalone web server is not a good choice for deployment. When that time comes, you'll have a lot of choices for deploying your applications. You can use FastCGI with Plack::Handler::FCGI, or Starman with Plack::Handler::Starman, or Starlet, or SCGI, or Mongrel2, or basically anything under the Plack::Handler::*
family. Keep in mind, however, that Leyland applications are not non-blocking nor asynchronous, so you can't use Feersum or Twiggy or other non-blocking servers (at least not yet).
To learn about deploying your application, refer to plackup and your handler of choice.
WHAT'S NEXT?
Read Leyland::Manual::Extending to learn how to extend Leyland and possibly help with development, or return to the table of contents.
AUTHOR
Ido Perlmuter, <ido at ido50.net>
BUGS
Please report any bugs or feature requests to bug-Leyland at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Leyland. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Leyland::Manual::Deployment
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
LICENSE AND COPYRIGHT
Copyright 2010-2014 Ido Perlmuter.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.