[Catalyst] more description for FAST CGI deployment in catalyst cookbook?

2009-07-15 Thread kakimoto
hi guys

 i am trying to figure out how to bring my app for production.

Looked at 
http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod#FastCGI_Deployment
and i am just wondering if anyone can add more description for FAST CGI
deployment in catalyst cookbook?

For example, there's a bunch of configuration in step 2 of FAST CGI
deployment (title of 2. Configure your application).
The problem I am having here is that there is no mention of WHERE should
the configuration should be put in.


K.akimoto 

___
List: Catalyst@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/


Re: [Catalyst] more description for FAST CGI deployment in catalyst cookbook?

2009-07-15 Thread Kieren Diment


On 15/07/2009, at 9:45 PM, kakim...@tpg.com.au wrote:


hi guys

i am trying to figure out how to bring my app for production.

Looked at
http://search.cpan.org/dist/Catalyst-Manual/lib/Catalyst/Manual/Cookbook.pod#FastCGI_Deployment
and i am just wondering if anyone can add more description for FAST  
CGI

deployment in catalyst cookbook?

For example, there's a bunch of configuration in step 2 of FAST CGI
deployment (title of 2. Configure your application).
The problem I am having here is that there is no mention of WHERE  
should

the configuration should be put in.




You need to show us explicitly what you have tried so far for anyone  
to be able to point out the error of your ways.


At the risk of seeming facetious, I suggest that you obtain the new  
Catalyst book (http://www.amazon.com/gp/product/1430223650 disclaimer:  
I am the primary author), read chapter 5 on deployment, and once you  
understand that you can patch the documentation for the benefit of  
others.  This is how I got started writing docs for Catalyst, because  
I was frustrated that the instructions were not easy and obvious to  
me, and I needed something I knew I could follow.  The book follows  
the same principle, which is why about a third of it is written by  
other people.  Firstly it means I can safely forget what I already  
know and look it up instead, and secondly I can stand on the shoulders  
of people who are taller than me :) and look up what they have to say  
as well.


If you're close to Sydney,  Sydney.pm will be  having a book launch  
(where there is a chance of winning a copy), probably on Tuesday the  
28th of July.  I'll be sure to announce it on this list.





___
List: Catalyst@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/


Re: [Catalyst] more description for FAST CGI deployment in catalyst cookbook?

2009-07-15 Thread kakimoto
Hello Kieren


 1) I was just asking where do I put the configuration as per the
article. Here's an extract from my prev email.
For example, there's a bunch of configuration in step 2 of FAST CGI
deployment (title of 2. Configure your application).
The problem I am having here is that there is no mention of WHERE should
the configuration should be put in.


2) No, I m not in sydney but yes, i am going to look into placing an
order through Amazon. Can you suggest a faster way (aside Sydney.pm) to
get a copy ? PDF purchase maybe?





You need to show us explicitly what you have tried so far for anyone to
be able to point out the error of your ways.

At the risk of seeming facetious, I suggest that you obtain the new
Catalyst book (http://www.amazon.com/gp/product/1430223650 disclaimer: I
am the primary author), read chapter 5 on deployment, and once you
understand that you can patch the documentation for the benefit of
others.  This is how I got started writing docs for Catalyst, because I
was frustrated that the instructions were not easy and obvious to me,
and I needed something I knew I could follow.  The book follows the same
principle, which is why about a third of it is written by other people.
 Firstly it means I can safely forget what I already know and look it up
instead, and secondly I can stand on the shoulders of people who are
taller than me :) and look up what they have to say as well.

If you're close to Sydney,  Sydney.pm will be  having a book launch
(where there is a chance of winning a copy), probably on Tuesday the
28th of July.  I'll be sure to announce it on this list.

___
List: Catalyst@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/


Re: [Catalyst] more description for FAST CGI deployment in catalyst cookbook?

2009-07-15 Thread Andrew Rodland
On Wednesday 15 July 2009 06:23:24 pm kakim...@tpg.com.au wrote:

 Again, my question is, where do I put the configuration above in?
 apache.conf ? httpd.conf? Doesn't say :(

Wherever it needs to be for your setup; apache configurations differ quite a 
bit by vendor, and this is the Catalyst cookbook, not the Apache instructions.

Andrew


___
List: Catalyst@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/


Re: [Catalyst] more description for FAST CGI deployment in catalyst cookbook?

2009-07-15 Thread kakimoto
Yep, i can agree with that. I do hope someone could write a tute for a
specific setup.
At least there's something concrete for non-admin savvy people to turn to.

thanks

On Thu, Jul 16th, 2009 at 9:34 AM, Andrew Rodland arodl...@comcast.net
wrote:

 On Wednesday 15 July 2009 06:23:24 pm kakim...@tpg.com.au wrote:
 
  Again, my question is, where do I put the configuration above in?
  apache.conf ? httpd.conf? Doesn't say :(
 
 Wherever it needs to be for your setup; apache configurations differ
 quite a 
 bit by vendor, and this is the Catalyst cookbook, not the Apache
 instructions.
 
 Andrew
 

___
List: Catalyst@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/


Re: [Catalyst] more description for FAST CGI deployment in catalyst cookbook?

2009-07-15 Thread Chisel Wright
On Thu, Jul 16, 2009 at 10:18:02AM +1000, kakim...@tpg.com.au wrote:
 Yep, i can agree with that. I do hope someone could write a tute for a
 specific setup.
 At least there's something concrete for non-admin savvy people to turn to.

Which specific setup though? As Andrew said, apache configurations
differ quite a bit from vendor to vendor.

What OS/Distro are you using? Maybe someone else already has an
example/setup that you can peek at.

-- 
Chisel Wright
e: chi...@herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  Ubuntu is an old African word which means: I can't configure Debian

___
List: Catalyst@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/


Re: [Catalyst] more description for FAST CGI deployment in catalyst cookbook?

2009-07-15 Thread kakimoto
 What OS/Distro are you using? Maybe someone else already has an
 example/setup that you can peek at.

Good morning, Chisel.
Yep, I am using Ubuntu Hardy Heron :) That would be most helpful.
 Thanks :)

 
 -- 
 Chisel Wright


___
List: Catalyst@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/


Re: [Catalyst] more description for FAST CGI deployment in catalyst cookbook?

2009-07-15 Thread Chisel Wright
On Thu, Jul 16, 2009 at 10:39:08AM +1000, kakim...@tpg.com.au wrote:
  What OS/Distro are you using? Maybe someone else already has an
  example/setup that you can peek at.
 
 Good morning, Chisel.
 Yep, I am using Ubuntu Hardy Heron :) That would be most helpful.
  Thanks :)

In general you want to be placing your files into
/etc/apache2/sites-available and then:

  sudo a2ensite

For one of my fastcgi sites I have a file that looks like:

  VirtualHost *:80
  # usual server stuff for a virtualhost

  FastCgiServer /path/to/myapp/script/myapp_fastcgi.pl -processes 3 
-initial-env CATALYST_DEBUG=1
  Alias /static   /path/to/myapp/root/static
  # run at the root
  Alias //path/to/myapp/script/cleavages_fastcgi.pl/

  # etc
  /VirtualHost

You'll need either:

  sudo /etc/init.d/apache2 reload
or
  sudo /etc/init.d/apache2 restart


I also have some fastcgi docs for parley; I believe they still work:

  
https://developer.berlios.de/docman/display_doc.php?docid=1838group_id=5999#apache_fastcgi
  [ http://bit.ly/Parley_fastcgi ]

Hopefully that's enough to get you on your way.

Chiz
-- 
Chisel Wright
e: chi...@herlpacker.co.uk
w: http://www.herlpacker.co.uk/

  Always move fast - you never know who's catching up!

___
List: Catalyst@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/