Re: [Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-21 Thread Christoph Metz
Tomas Doran schrieb: On 20 Jul 2009, at 14:40, Christoph Metz wrote: so, where do i have to set a HOME oder PATH var, so that i can run the dev server from any fs-point? You can use CATALYST_HOME or MYAPP_HOME (replacing MYAPP with your capitalised app name with :: changed to _). Cheers

[Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Christoph Metz
Hey guys, i want to deploy my c-app by using the dev-server myapp_server.pl. while the development i went into the dir myapp and typed script/myapp_server.pl -r -d so far, so good, but now i want to start this server via an init.d script under open-suse 9.2, so i wrote the script by using the

Re: [Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Lindolfo Lorn Rodrigues
Ops, sent to fast Of couse you will put your path in path_to, i copy this from TTSite :) On Mon, Jul 20, 2009 at 1:00 PM, Lindolfo Lorn Rodrigues lorn.br@ gmail.com wrote: Try to add this in your view: __PACKAGE__-config({ INCLUDE_PATH = [ MyApp-path_to( 'root', 'src' ),

Re: [Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Lindolfo Lorn Rodrigues
Try to add this in your view: __PACKAGE__-config({ INCLUDE_PATH = [ MyApp-path_to( 'root', 'src' ), MyApp-path_to( 'root', 'lib' ) ], On Mon, Jul 20, 2009 at 10:40 AM, Christoph Metz mail-...@web.de wrote: Hey guys, i want to deploy my c-app by using the dev-server

Re: [Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Tomas Doran
On 20 Jul 2009, at 14:40, Christoph Metz wrote: so, where do i have to set a HOME oder PATH var, so that i can run the dev server from any fs-point? You can use CATALYST_HOME or MYAPP_HOME (replacing MYAPP with your capitalised app name with :: changed to _). Cheers t0m