Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Deploy Catalyst application.

by Khen1950fx (Canon)
on Nov 02, 2013 at 06:44 UTC ( #1060896=note: print w/ replies, xml ) Need Help??


in reply to Deploy Catalyst application.

Try:

CATALYST_ENGINE='HTTP::Prefork' script/myapp_server.pl
For a guide to the deployment process, see: Deploying Catalyst Applications.


Comment on Re: Deploy Catalyst application.
Download Code
Re^2: Deploy Catalyst application.
by code-ninja (Scribe) on Nov 02, 2013 at 07:19 UTC
    Umm, it shows the same error.
    ~testJSON/script$ CATALYST_ENGINE='HTTP::Prefork' testjson_server.pl Can't locate Catalyst/Engine/HTTP/Prefork.pm in @INC (@INC contains: / +home/code-ninja/Projects/Perl/testJSON/script/../lib /etc/perl /usr/l +ocal/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr +/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/s +ite_perl .) at /usr/local/share/perl/5.14.2/Class/Load.pm line 177. Compilation failed in require at /usr/local/share/perl/5.14.2/Catalyst +/ScriptRunner.pm line 50.
    Reading through the link you provided.

    Meanwhile, the in-built server provides a -h switch which enables us to host the server on a particular address. What I did, for now, is this:

    ~testJSON/script$ testjson_server.pl -h 192.168.xx.yy
    and the server is hosted on the given address, well that's cool... but only for testing purposes.

Re^2: Deploy Catalyst application.
by stonecolddevin (Vicar) on Nov 04, 2013 at 18:38 UTC

    The wiki is way out of date.

    Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1060896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-08-21 22:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (144 votes), past polls