On Thu 24 Jun 2004, Hakim <hakim(a)cassimally.net> wrote:
Oh yes, and on Debian with SQLite. Works fine, though
I had to do
'perl openguides-setupdb': I thought it was supposed to parse the
Do I need to package it in some way (Like pl2bat on Win32)?
This kind of script is best packaged in the distribution, like
cgi-wiki-setupdb is packaged in the CGI::Wiki distribution.
Now, it is a good idea and it's certainly a helpful thing, but what I
have in mind for the install procedure is to entirely get rid of all
the questions in Build.PL and have a separate install script -
openguides-setup - that you run in your openguides directory and it
looks at your wiki.conf and writes out wiki.cgi (or whatever you want
to call the file) and the templates, and also sets up the database
tables. So what yours does but more.
So I'm not really wanting to include your script just yet given that
I'm planning a similar thing with more functionality. I'm willing to
be talked around though.
The things that are holding up openguides-setup:
- Too much stuff in wiki.cgi, need to move it to OpenGuides.pm
I am working on this.
- The endless templates problem - what do we do about custom templates.
I've attached the rough skeleton that I just knocked up - don't
blindly run it and overwrite your scripts and complain at me please :)
It doesn't do what it's meant to yet; you'll probably be able to spot
the gaps. I'm not going to do any more with it until I finish gutting