[Catalyst] Using the Catalyst Makefile to install

2013-03-07 Thread Alejandro Imass
Hi,

What is the canonical way to use the provided Makefile to deploy
Catalyst apps. Up until now I've only used to mainatin the
dependencies and use make and make test but I have never used make
install.

I read through the Makefile and it's obvious that it will install all
modules where they belong, but where do the resto of the files go??
Example, the /root directory, the config file, etc.

Is there a document that talks about this?

Thanks,

--
Alejandro Imass

___
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] Using the Catalyst Makefile to install

2013-03-07 Thread Francisco Obispo
The installer uses Module::Install

So basically:

1) lib/ is installed in: /usr/local/lib/perl5
2) script/* becomes /usr/local/bin/*
3) man pages are usually installed in /usr/local/share/man/man3/

etc.

perldoc Module::Install for more info ;-)


dh-make-perl if you want to make a debian/ubuntu package



On Mar 7, 2013, at 2:56 PM, Alejandro Imass alejandro.im...@gmail.com wrote:

 Hi,
 
 What is the canonical way to use the provided Makefile to deploy
 Catalyst apps. Up until now I've only used to mainatin the
 dependencies and use make and make test but I have never used make
 install.
 
 I read through the Makefile and it's obvious that it will install all
 modules where they belong, but where do the resto of the files go??
 Example, the /root directory, the config file, etc.
 
 Is there a document that talks about this?
 
 Thanks,
 
 --
 Alejandro Imass
 
 ___
 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/

Francisco Obispo 
Director of Applications and Services - ISC
email: fobi...@isc.org
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
PGP KeyID = B38DB1BE


___
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] Using the Catalyst Makefile to install

2013-03-07 Thread Alejandro Imass
On Thu, Mar 7, 2013 at 6:03 PM, Francisco Obispo fobi...@isc.org wrote:
 The installer uses Module::Install

 So basically:

 1) lib/ is installed in: /usr/local/lib/perl5
 2) script/* becomes /usr/local/bin/*
 3) man pages are usually installed in /usr/local/share/man/man3/

 etc.

 perldoc Module::Install for more info ;-)



So the source, static files and the config file, etc. need to be
installed manually ??

BTW: saludes!

--
Alejandro Imass

___
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] Using the Catalyst Makefile to install

2013-03-07 Thread Francisco Obispo
They are installed by default under the lib/ directory, I'm not a big fan of 
that setup, so what we usually do (in debian), we setup a custom package that 
does the magic that we need, including the nginx setup, etc.

Module::Install lets you do some limited configuration, but if you're looking 
to customize it, you're better off with a custom distribution package.

Module::Install also gives you the ability to generate a PAR (Perl Archive), 
and a tar distribution (make tardist). 

On FreeBSD for example I usually install my catalyst apps as:

perl Makefile.PL INSTALL_BASE=/path/to/myapp

that way I have everything enclosed in one location (FreeBSD package manager is 
a nightmare)

:-)


On Mar 7, 2013, at 8:50 PM, Alejandro Imass alejandro.im...@gmail.com wrote:

 On Thu, Mar 7, 2013 at 6:03 PM, Francisco Obispo fobi...@isc.org wrote:
 The installer uses Module::Install
 
 So basically:
 
 1) lib/ is installed in: /usr/local/lib/perl5
 2) script/* becomes /usr/local/bin/*
 3) man pages are usually installed in /usr/local/share/man/man3/
 
 etc.
 
 perldoc Module::Install for more info ;-)
 
 
 
 So the source, static files and the config file, etc. need to be
 installed manually ??
 
 BTW: saludes!
 
 --
 Alejandro Imass
 
 ___
 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/

Francisco Obispo 
Director of Applications and Services - ISC
email: fobi...@isc.org
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
PGP KeyID = B38DB1BE


___
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/