[Catalyst] [Announce] App::ForExample: Helper to generate Catalyst configurations

Devin Austin devin.austin at gmail.com
Mon Jun 8 21:38:51 GMT 2009


you++.

I was just thinking about something like this as a "hmmm i don't feel like
thinking, i want catalyst to do that for me".

On Mon, Jun 8, 2009 at 3:29 PM, Robert Krimen <robertkrimen at gmail.com>wrote:

> 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_Ub=
untu
>
> 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
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>


-- =

Devin Austin
http://www.codedright.net
http://www.dreamhost.com/r.cgi?326568/hosting.html - Host with DreamHost!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090608/114cc=
924/attachment.htm


More information about the Catalyst mailing list