Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Installing Catalyst with CatInABox through FTP / CGI

by Sixtease (Friar)
on Oct 25, 2008 at 16:18 UTC ( [id://719519]=perlquestion: print w/replies, xml ) Need Help??

Sixtease has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks,

I'd like to install Catalyst on my server where I only have FTP access and CGI's with perl, bash and some other unix tools.

Since running cpan is problematic (no root access, no interactivity etc.), I wanted to install Catalyst from CatInABox. Only to find that the link in Catalyst::Manual::Installation is broken.

Where can I obtain CatInABox, or how would you recommend me to install Catalyst in such a restricted environment?

Thanks.

use strict; use warnings; print "Just Another Perl Hacker\n";
  • Comment on Installing Catalyst with CatInABox through FTP / CGI

Replies are listed 'Best First'.
Re: Installing Catalyst with CatInABox through FTP / CGI
by CountZero (Bishop) on Oct 25, 2008 at 20:24 UTC
    If you don't have root access then you cannot really call it "my server" can you?

    Catalyst has a lot of dependencies and is not easy to install, not having root access will make it even more difficult, but if you can run cpan it should not be impossible to do it. You can perhaps try to install it under your home-share

    However, that is only part of the job. You must then configure the webserver to run Catalyst and for that you will probably need higher authority than you have. Use your social skills on the webmaster to link Catalyst into the webserver.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

      I used to call it my apartment without "root" access to the title, etc. :)

      CatInABox is a self-contained package with all the dependencies. I have no idea what its status is though or if it's being maintained.

      For the OP: running Cat as CGI, while possible and possibly fast enough in small/limited applications, is not recommended.

        Catalyst::Manual::Installation says the following about CatInABox:
        Chris Laco's CatInABox

        CatInABox is a complete version of Catalyst that is installed locally on your system, so that you don't need to go through the effort of doing a full install. Simply download the tarball from http://handelframework.com/downloads/CatInABox.tar.gz and unpack it on your machine. Depending on your OS platform, either run start.bat or start.sh to set your bin/PERLLIB paths. This tarball contains everything needed to try out Catalyst including Catalyst itself, Template Toolkit, several Authentication modules, StackTrace, and a few other plugins.

        Unfortunately the link is dead.

        There is another link found here but downloads directory points to an svndump which I could not open or use.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Re: Installing Catalyst with CatInABox through FTP / CGI
by trwww (Priest) on Oct 26, 2008 at 01:12 UTC

    Hello,

    As previously stated, do not run catalyst in a cgi context for performance reasons.

    Catalyst instances run very fast once started, but there is a bit of overhead in the startup process that make it unusable in a cgi context.

    If you're looking for a cheap way to get started with catalyst in a production environment, I suggest VPS Hosting.

    trwww

Re: Installing Catalyst with CatInABox through FTP / CGI
by Corion (Patriarch) on Oct 26, 2008 at 09:49 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://719519]
Approved by SankoR
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found