[Maypole] Quick Setup Guide

Jay Strauss me@heyjay.com
Tue, 12 Oct 2004 08:46:33 -0500


Peter Speltz wrote:
> Here's my summary after spending a couple good days last week on it.
> 
> 1) Download the Current Developement snapshot from
> http://maypole.perl.org/?Download. It works for Apache1/2 Modperl1/2 and CGI
> 
> 2) Unpaack it : tar xvfz WhatIJustDownloaded
> 
> 3) change into the directory and run: perl Makefile.PL.
> 
> 4) Note any prereqs missing and install as many as you can before you proceed.
> run perl Makefile.PL as needed to see what prereqs your missing. SQLite is not
> needed unless your using that DB.
> 
> 5) run: "make && make install"
> 
> 6) If all went well then follow the instructions found by this command:
>    "man Apache::MVC". The doc with that module seems to be the most up to date
> and accurate. 
> 
> 7)  Some specific details and gotchas: 
> 
>  Copy the contents of the template directory to a "beerdb" folder in your Web
> Document Root (/usr/local/apache/htdocs/beerdb/). 
> 
> "cp -r templates ????/htdocs/beerdb"
> 
> Check that you have a beerdb/custom and factory and beer and a .css file.
> Make sure that your custom/header points to that .css file or your html won't
> look good. 
> 
> Make sure your BeerDB.pm is consistent with the beerdb database. USe the sql in
> Apache::MVC.  There are several different versions of the beerdb sql on the
> web. 
> 
> If you don't have a "custom" folder in the "templates" directory under the
> Maypole source tree you downloaded get one from a different Version like the
> one on CPAN.  But use all the factory templates that came with your source. 
> 
> Good luck.
> 
> 
> --- Jay Strauss <me@heyjay.com> wrote:
> 
> 
>>Jay Strauss wrote:
>>
>>>Hi,
>>>
>>>I've been reading up on TT and Maypole this weekend.  I'm unable to find 
>>>a guide to how to setup Mod_Perl/TT/Maypole (the mod_perl/TT stuff is 
>>>pretty weak (at least the stuff I've found)).
>>>
>>>I guess I'm looking for something that tells me how to setup my 
>>>http.conf, a common/preferred/general directory structure for all your 
>>>code, sample files, to get a maypole app up and running, so that one may 
>>>play with it and get an idea of the moving parts.  Like a best practices 
>>>guide, with samples.
>>>
>>>I have Apache, Mod_Perl, TT built and running.  I just don't know if 
>>>I've done it in a standard, maintainable, application buildable way.
>>>
>>>Thanks
>>>Jay
>>>
>>>_______________________________________________
>>>maypole mailing list
>>>maypole@lists.netthink.co.uk
>>>http://lists.netthink.co.uk/listinfo/maypole
>>>
>>
>>Let me add this if for an Apache 1 (1.31), TT2, and Maypole 1.27 
>>installation
>>
>>Jay
>>
>>_______________________________________________
>>maypole mailing list
>>maypole@lists.netthink.co.uk
>>http://lists.netthink.co.uk/listinfo/maypole
>>
> 
> 
> 
> =====
> pjs
> 
Peter,

Thanks for the reply.  But what about all the httpd.conf, mod_perl, and 
TT stuff I have to do prior to installing Maypole?

I mean, isn't there stuff I've got to put into my httpd.conf for 
Maypole?  Am I supposed to use just that generic stuff that I've found 
in the TT install directions for what to put into my httpd.conf

Thanks
Jay

Thanks
Jay