Leyland::Manual::Deployment - How to deploy Leyland applications
version 0.001007
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. 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.
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).
Plack::Handler::*
To learn about deploying your application, refer to plackup and your handler of choice.
Read Leyland::Manual::Extending to learn how to extend Leyland and possibly help with development, or return to the table of contents.
Ido Perlmuter, <ido at ido50.net>
<ido at ido50.net>
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.
bug-Leyland at rt.cpan.org
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
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Leyland
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Leyland
CPAN Ratings
http://cpanratings.perl.org/d/Leyland
Search CPAN
http://search.cpan.org/dist/Leyland/
Copyright 2010-2011 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.
To install Leyland, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Leyland
CPAN shell
perl -MCPAN -e shell install Leyland
For more information on module installation, please visit the detailed CPAN module installation guide.