[Zope-dev] [Zope-Checkins] SVN: Zope/branches/tseaver-clarify_install_docs/doc/ Split out docs for 'normal' installation from those using 'zc.buildout'.

Tres Seaver tseaver at palladion.com
Thu Mar 11 10:15:32 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Withers wrote:
> Tres Seaver wrote:
>> I recommend virtualenv to anybody who just wants to install and run the
>> Zope2 appserver, without needing to drink a lot of "kool-aid":
> 
> How do you get them using the set of eggs specified in the appropriate 
> versions.cfg using this recommendation?

You install from the index built from that same set of known good versions:

  $ /path/to/virtualenv --no-site-packages /tmp/z2123
  $ /tmp/z2123/bin/easy_install \
    -i http://download.zope.org/Zope2/index/2.12.3/  Zope2
  $ /tmp/z2123/bin/mkzopeinstance -d /tmp/instance -u admin:123
  $ /tmp/instance/bin/zopectl fg


>> Activate is a completely unnecessary attractive nuisacne:  I *never* use
>> it, and I routinely see people who *do* use it end up running from
>> different environments than the ones they think they are running.
> 
> Right, so how do I avoid it? Is that in your new Zope 2 docs?

You just use the scripts in the 'bin' directory, as above.  Sourcing
'activate' pollutes your shell's environment for the dubious benefit of
saving a couple of keystrokes.

>> The self-contained mode is likely *perfect* for developers who produce a
>> highly-customized bundle o Zope, 3rd party software, and custom code.
>> It just isn't right as the "first choice" for somebody installing Zope
>> for the first time.
> 
> I fail to see why not. It's a simple 2 step recipe for them:
> 
> - checkout
> - run buildout

Checkiog Zope out from SVN is not part of an appropriate installation
model for folks who are not interested in hackin on Zope itself.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuZCRQACgkQ+gerLs4ltQ6qjQCdH0QLW73sU2XKufa2oThHtzqw
KxIAniIKtGyuc7svGfP/LiHF2NRsnyVV
=8hwt
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list