I am a straggler returning to Zope after years away from it. I come from a time when to install a product into one's Zope one simply untarred it into one's Products folder and restarted. Now I am looking at easy_install, buildout, and the new mania for "eggs." Imagine my discomfiture. But never mind all that. I now have a running instance of Zope 2.12.10 installed in NetBSD 5.1. I want to install CMF into it, which used to be one's first product chore (almost) since plone depended on it and I was heading for a plone install, (and later on ran Silva for a couple of years.) But I am here tonight to say, I am stumped. How do get CMFCore into my zope instance "the right way?" Can someone lay out the steps for me? My python is: /usr/pkg/bin/python2.6 My Zope is at: /usr/local/src/Zope2-2.12.10 My instance is at: /usr/local/Zopeish I have banged around with easy_install, which writes things into my NetBSD /usr/pkg hierarchy, of which I very much disapprove. Buildout seems always to want to build the original gazillion (not complaining!) Zope packages every time I ry to use it. So...glad to be back. Need help. Will write if I get work. Wish you were here. nb. The running Zope instance is "live" on the net, so if one needs to examine my ZMI I can provide URL and login. Just ask, please. -- No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am not a looney! Why should I be tarred with the epithet looney merely because I have a pet halibut?
as root (or using virtualenv) easy_install-2.6 -U ZopeSkel then as user zope (or what ever) paster create -t plone4_buildout NAMEOFNEWBUILDOUT cd NAMEOFNEWBUILDOUT python2.6 bootstrap bin/buildout and your new site is ready to start with bin/instance fg point your browser at localhost:8080/manage install a new plone site .. robert On 23.06.2011 06:48, Eric d'Halibut wrote:
I am a straggler returning to Zope after years away from it. I come from a time when to install a product into one's Zope one simply untarred it into one's Products folder and restarted. Now I am looking at easy_install, buildout, and the new mania for "eggs." Imagine my discomfiture.
But never mind all that. I now have a running instance of Zope 2.12.10 installed in NetBSD 5.1. I want to install CMF into it, which used to be one's first product chore (almost) since plone depended on it and I was heading for a plone install, (and later on ran Silva for a couple of years.) But I am here tonight to say, I am stumped.
How do get CMFCore into my zope instance "the right way?" Can someone lay out the steps for me?
My python is: /usr/pkg/bin/python2.6
My Zope is at: /usr/local/src/Zope2-2.12.10
My instance is at: /usr/local/Zopeish
I have banged around with easy_install, which writes things into my NetBSD /usr/pkg hierarchy, of which I very much disapprove. Buildout seems always to want to build the original gazillion (not complaining!) Zope packages every time I ry to use it.
So...glad to be back. Need help. Will write if I get work. Wish you were here.
nb. The running Zope instance is "live" on the net, so if one needs to examine my ZMI I can provide URL and login. Just ask, please.
On 6/23/11, robert rottermann <robert@redcor.ch> wrote:
as root (or using virtualenv) easy_install-2.6 -U ZopeSkel then as user zope (or what ever) paster create -t plone4_buildout NAMEOFNEWBUILDOUT
This last command gives me a sternly-worded, and appearing, warning: ** *** NOTE: You probably don't want to use this template! ** Since Plone 3.1, the preferred way to get a buildout-based setup ** for Plone is to use the standard installer for your operating ** system (the Windows installer, the Mac installer, or the Unified ** Installer for Linux/Unix/BSD). How big a deal is this, especially in view of me running said command under the /home/ hierarchy where it's not going to -- I hope -- do much systemic damage? And what if someone wants simply to install Zope and the CMF, and not yet make the leap to Plone? It seems the "message" I am getting is 'all roads lead to Plone!' Thanks, -- No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am not a looney! Why should I be tarred with the epithet looney merely because I have a pet halibut?
On 23.06.2011 16:14, Eric d'Halibut wrote:
On 6/23/11, robert rottermann<robert@redcor.ch> wrote:
as root (or using virtualenv) easy_install-2.6 -U ZopeSkel then as user zope (or what ever) paster create -t plone4_buildout NAMEOFNEWBUILDOUT This last command gives me a sternly-worded, and appearing, warning:
** *** NOTE: You probably don't want to use this template! the alternative would be to use an Installer. which I never do and (maybe therefore) see not advantage in using over plain buildout.
robert
** Since Plone 3.1, the preferred way to get a buildout-based setup ** for Plone is to use the standard installer for your operating ** system (the Windows installer, the Mac installer, or the Unified ** Installer for Linux/Unix/BSD).
How big a deal is this, especially in view of me running said command under the /home/ hierarchy where it's not going to -- I hope -- do much systemic damage?
And what if someone wants simply to install Zope and the CMF, and not yet make the leap to Plone?
It seems the "message" I am getting is 'all roads lead to Plone!'
Thanks,
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/23/2011 12:48 AM, Eric d'Halibut wrote:
I am a straggler returning to Zope after years away from it. I come from a time when to install a product into one's Zope one simply untarred it into one's Products folder and restarted. Now I am looking at easy_install, buildout, and the new mania for "eggs." Imagine my discomfiture.
But never mind all that. I now have a running instance of Zope 2.12.10 installed in NetBSD 5.1. I want to install CMF into it, which used to be one's first product chore (almost) since plone depended on it and I was heading for a plone install, (and later on ran Silva for a couple of years.) But I am here tonight to say, I am stumped.
How do get CMFCore into my zope instance "the right way?" Can someone lay out the steps for me?
My python is: /usr/pkg/bin/python2.6
My Zope is at: /usr/local/src/Zope2-2.12.10
My instance is at: /usr/local/Zopeish
Unpack the CMFCore sdist tarball, e.g.: $ cd /tmp $ wget \ http://pypi.python.org/packages/source/P/Products.CMFCore/Products.CMFCore-2... $ cd /usr/local $ sudo tar xzf /tmp/Products.CMFCore-2.2.4.tar.gz and then add the unpacked directory to the 'products' section of your instance's 'zope.conf', e.g.: $ grep "^products" /usr/local/Zopeish/etc/zope.conf products /usr/local/Products.CMFCore-2.2.4/ You can repeat the 'products' bit to add other products.
I have banged around with easy_install, which writes things into my NetBSD /usr/pkg hierarchy, of which I very much disapprove.
I recommend using 'virtualenv', which gives you a "sandboxed" environment for installing "non-system" packages.
Buildout seems always to want to build the original gazillion (not complaining!) Zope packages every time I ry to use it.
So...glad to be back. Need help. Will write if I get work. Wish you were here.
nb. The running Zope instance is "live" on the net, so if one needs to examine my ZMI I can provide URL and login. Just ask, please.
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4DUSUACgkQ+gerLs4ltQ4J+ACeIV6Pph5BZ4b6nrU2jNIsRJ7T caUAmQHVIDaboFyFVv3TllFoXABMDgWr =vAra -----END PGP SIGNATURE-----
On 6/23/11, Tres Seaver <tseaver@palladion.com> wrote:
Unpack the CMFCore sdist tarball, e.g.:
$ cd /tmp $ wget \
http://pypi.python.org/packages/source/P/Products.CMFCore/Products.CMFCore-2... $ cd /usr/local $ sudo tar xzf /tmp/Products.CMFCore-2.2.4.tar.gz
and then add the unpacked directory to the 'products' section of your instance's 'zope.conf', e.g.:
$ grep "^products" /usr/local/Zopeish/etc/zope.conf products /usr/local/Products.CMFCore-2.2.4/
No joy. Thanks. I am giving up on my NetBSD, and, when I get some time later today, redo all this on a linux box. -- No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am not a looney! Why should I be tarred with the epithet looney merely because I have a pet halibut?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/23/2011 01:52 PM, Eric d'Halibut wrote:
On 6/23/11, Tres Seaver <tseaver@palladion.com> wrote:
Unpack the CMFCore sdist tarball, e.g.:
$ cd /tmp $ wget \
http://pypi.python.org/packages/source/P/Products.CMFCore/Products.CMFCore-2... $ cd /usr/local $ sudo tar xzf /tmp/Products.CMFCore-2.2.4.tar.gz
and then add the unpacked directory to the 'products' section of your instance's 'zope.conf', e.g.:
$ grep "^products" /usr/local/Zopeish/etc/zope.conf products /usr/local/Products.CMFCore-2.2.4/
No joy. Thanks. I am giving up on my NetBSD, and, when I get some time later today, redo all this on a linux box.
FTR, my original example was wrong. It should have been: $ grep "^products" /usr/local/Zopeish/etc/zope.conf products /usr/local/Products.CMFCore-2.2.4/Products/ and CMFCore requires that 'five.localsitemanager' be importable (buildout and easy_install would have guaranteed that). Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4ErkUACgkQ+gerLs4ltQ5vfgCcDtYcvj7oPzoW1jreBPawtIxh CQsAoKD3w22NQK26MxEYfp1FSBDO+QFZ =J4w0 -----END PGP SIGNATURE-----
participants (3)
-
Eric d'Halibut -
robert rottermann -
Tres Seaver