Re: Errors running CMFPlone/Extensions/setupSite.py with Zope 2.7

Chris McDonough <[email protected]>
Newsgroups gmane.comp.web.zope.plone.installers
Message-ID <[email protected]>
On Mon, 2003-12-15 at 00:31, Andy McKay wrote:
> - the user that creates
> a CMF must exist in the ZODB. If you ship a prepoulated ZODB you must 
> create the user account in Zope and users will  have to be told. I've 
> been told by about 30 people this is bad.

I won't argue, but I will note that if you create an "admin" user in the
prepopulated Data.fs, give him an impossible password (like None) and
allow the installing user to respecify the admin password during the
install process, this becomes ok.  Hardcoding the username is what the
Zope Windows installer does.  We don't ship a prepopulated Data.fs with
Zope under Windows, but it's just easier for documentation purposes to
tell Windows people to use the "admin" user when they log in for the
first time rather than "the user you created when you ran the
installer".  The latter seems to confuse them somehow, at least I've
gathered that from questions on the maillist about 2.6 and lesser, dont
ask me how. ;-)

> - you cannot alter the ZODB according to user preferences given in the 
> installer. Eg: install this product? install this skin?

FWIW, I really don't care either way, but I would tend to say YAGNI to
this because people have no idea what they want, especially the first
time they install something.  IMHO, it's easier and better to just give
them something and not make them think too hard until after they've got
it running, and at that point they have the Plone UI to help them do all
that.

> - the download is smaller and shipping a pre populated ZODB to a user 
> with a ZODB that is then thrown away is daft

OK, this makes sense.

> Perhaps we can just piss off kapil and revert back to the orginal plone 
> initialize which worked just fine.

Well, I'll be happy to help fix whatever it is that needs fixing, I just
haven't got much in the way of info other than "it doesnt work" yet and
I haven't yet had the time to actually run the thing.  Right now I'm
going to bed. ;-)

- C




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.