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 at 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 at 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 at lists.netthink.co.uk
> http://lists.netthink.co.uk/listinfo/maypole
>
=====
pjs
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
_______________________________________________
maypole mailing list
maypole at lists.netthink.co.uk
http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT