[Catalyst] Re: deploying a Catalyst app
A. Pagaltzis
pagaltzis at gmx.de
Sat Jun 2 18:00:22 GMT 2007
* Octavian Rasnita <orasnita at gmail.com> [2007-06-01 20:10]:
> When installing it on the target machine (with make, make
> install) it should require all the necessary Catalyst and
> non-Catalyst modules.
Take a look at pip: http://search.cpan.org/dist/pip/
It’s an installer for tarball dists that resolves dependencies
like CPAN.pm. Instead of doing
tar xvzf MyApp.tar.gz
cd MyApp
perl Makefile.PL
make
make test
make install
you just do
pip -i MyApp.tar.gz
and not only will it automate the entire above sequence, it will
also install all the dependencies that MyApp’s Makefile.PL
declares.
If you have several non-CPAN modules to install you can also
write a .p5i file (which is just a plaintext list of tarballs)
and invoke pip on that file, and it will install them all, in
the order you gave.
Very handy.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
More information about the Catalyst
mailing list