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 Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to