Just installed 3.30 from tarball. It's not available on my CPAN mirror yet.

I'm going to try out the quick start and tutorial, more about that later. But for now, some comments about the installation, from back to front.

---------------------------------------------------------------------- +---------- Web Directory ---------------------------------------------------------------------- +---------- dev : /home/httpd/html/gantry prod : /home/httpd/html/gantry tim : /home/tkeefer/httpd/html/gantry Web Directory [dev,prod,tim]?

This isn't explained anywhere. You really need a README and INSTALL file in the root of the archive which covers this. I got past it by guessing the intention. I made a directory /usr/local/apache2/htdocs/gantry, chmodded it 777, and gave the directory name as answer to the question. It worked and now I have some templates and styles installed there.

t/01pod..........................skipped all skipped: set TEST_POD to enable this test t/01podcoverage..................skipped all skipped: set TEST_POD to enable this test

I know why you skip by default, you rascals! ;) I realise POD is boring and low priority, but take this friendly reminder here that you should get 100% here, some day.

# Do you want to run Gantry Auth application tests [no]? y # Enter database connection string [dbi:Pg:dbname=master_auth]? # Enter database user [apache]? foobar # Enter database password []? # Failed test 'expected 200, received 1 = {}; for /site/users' # in t/auth/01run.t at line 71. # /site/users # DBI connect('dbname=master_auth','',...) failed: FATAL: role "root" + does not exist # at /usr/local/src/Gantry-3.30/blib/lib/Gantry/Utils/ModelHelper.pm +line 76 t/auth/01run.....................NOK 2

This is just great, asks me for a db user name, but uses root anyway.

I didn't quite know what this is supposed to accomplish in detail, so I just created the db master_auth with user foobar before pressing enter for the first question. It failed, as you can see above. For the next run, I skipped just dbi testing.

Checking prerequisites... - ERROR: HTML::Prototype is not installed - ERROR: Data::Page is not installed - ERROR: Class::DBI::Sweet is not installed - ERROR: Hash::Merge is not installed - ERROR: File::Copy::Recursive is not installed - ERROR: Template is not installed - ERROR: Class::DBI is not installed - ERROR: Data::FormValidator is not installed

Argh, quite a lot. Template-Toolkit was a real bitch to install with its many questions and test #7 of t/gd.t mysteriously failing with just a couple of bytes difference. Does anyone else notice that (hint: make test TEST_VERBOSE=1)? I converted those long hex strings into binary, but it didn't result in a valid PNG file. So I resolved that it can't probably matter and just forced the installation.


In reply to Re: Yet Another Web Framework by Anonymous Monk
in thread Yet Another Web Framework by philcrow

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.