Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users
[Announce] App::ForExample: Helper to generate Catalyst configurations
 

Index | Next | Previous | View Flat


robertkrimen at gmail

Jun 8, 2009, 2:29 PM


Views: 451
Permalink
[Announce] App::ForExample: Helper to generate Catalyst configurations

Last Tuesday, during a SFPUG Catalyst talk, I announced App::ForExample

http://search.cpan.org/perldoc?App::ForExample
http://search.cpan.org/dist/App-ForExample

This is the tool I've written to help with the deployment stage of
publishing a Catalyst application. It will
generate configurations for Apache, lighttpd, nginx:

App::ForExample is a command-line tool for generating sample configurations.
It is not designed to do configuration
management, but rather as a guide to get you 80% of the way there

Besides the usual Apache, lighttpd, nginx, and FastCGI configurations,
App::ForExample can create a FastCGI start-stop script and a monit
configuration for monitoring those processes

Here is some typical usage:

# To output a FastCGI (ExternalServer)/Apache configuration (with monit
stub and start-stop script), run:
for-example catalyst/fastcgi apache2 standalone --package My::App
--hostname example.com --output my-app

# The above command would have created the following:

my-app.apache2 The Apache2 virtual host configuration (hosted at
(www.)example.com)
my-app.start-stop The start/stop script to launch the FastCGI
process
my-app.monit A monit stub used for monitoring the FastCGI
process

# This will generate a basic, stripped-down monit configuration (monitrc)
suitable for a non-root user:
for-example monit --home $HOME/monit --output $HOME/monit/monitrc

# A mod_perl configuration for Catalyst:
for-example catalyst/mod_perl --package Project::Xyzzy --hostname
xyzzy.com --home Project-Xyzzy

A tutorial for Apache2 with FastCGI on Ubuntu:

http://search.cpan.org/perldoc?App::ForExample#Apache2_with_FastCGI_on_Ubuntu

You can install App::ForExample by using CPAN:

cpan -i App::ForExample

If that doesn't work properly, you can find help at:

http://sial.org/howto/perl/life-with-cpan/
http://sial.org/howto/perl/life-with-cpan/macosx/ # Help on Mac OS X
http://sial.org/howto/perl/life-with-cpan/non-root/ # Help with a
non-root account

The source repository is:

http://github.com/robertkrimen/App-ForExample/tree/master

Rob

Subject User Time
[Announce] App::ForExample: Helper to generate Catalyst configurations robertkrimen at gmail Jun 8, 2009, 2:29 PM
    Re: [Announce] App::ForExample: Helper to generate Catalyst configurations devin.austin at gmail Jun 8, 2009, 2:38 PM
    Re: [Announce] App::ForExample: Helper to generate Catalyst configurations hutchinson.chris at gmail Jun 8, 2009, 4:19 PM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.