Zope day
For the first time since a long time I am awake at 8AM. I am also coffeed-up and ready to start running commands like:
curl 'http://www.zope.org/Products/Zope/2.10.5/Zope-2.10.5-final.tgz' | tar -xzvf -
wget https://launchpad.net/plone/3.0/3.0.3/+download/Plone-3.0.3.tar.gz
I know from experience that at some point I will need PIL so I also installed that from MacPorts:
sudo port install py-pil
which pulled all the prerequisites ala apt-get including python2.4 and installed everything in /opt/local/. Thanks MacPorts! letz install
Update: Apparently there are problems with the readline (”Bus Error” shows up as soon as you type anything) lib on Mac OS X. The solution is to port install readline before installing python24, py-pil etc… It works now.
Zope install from source looks like:
$ curl 'http://www.zope.org/Products/Zope/2.10.5/Zope-2.10.5-final.tgz' | tar -xzvf -
$ mkdir /zopedev/Zope2105 # software home (common to all zope installations)
$ mkdir /zopedev/site1 # instance home (my website)
$ cd Zope-2.10.5-final/
$ ./configure --help
$ ./configure --prefix=/zopedev/Zope2105/ --with-python=/opt/local/bin/python2.4
$ make
$ make install
$ cd ../Zope2105/
$ bin/mkzopeinstance.py # copy stuff from software home to instance home
$ cd ..
$ site1/bin/runzope
Zope is now running. You can see it at: http://localhost:8080
Plone:
$ wget http://effbot.org/media/downloads/elementtree-1.2.6-20050316.tar.gz
$ tar -xvzf elementtree-1.2.6-20050316.tar.gz
$ cd elementtree-1.2.6-20050316
$ sudo /opt/local/bin/python2.4 setup.py install
$ ls site1/lib/
$ ls site1/Products/
$ rm -r site1/lib/
$ rm -r site1/Products
$ cp -R Plone-3.0.3/Products/ site1/Products/
$ cp -R Plone-3.0.3/lib/ site1/lib/
In general installing products is as easy as un-taring them in the Products directory of your site and restarting Zope. Then you can add them from the respective “management interface” — in that respect Plone is just another Product.
More tomorrow… FCKEditor? UML to Product example [1,2]?
In general I must say I am quite impressed with the new features of Plone 3. The page “edit” has been ajaxified. They have categories. Everything looks more mature now and clean. I like what there is now and I like that I could add stuff like hierarchical categories. Tomorrow.
This attracted my attention in the news: Man holds hostages at H. Clinton’s office. Certainly a nice piece of publicity for Hillary since she “dropped everything” and worries about her young staff being held hostage. One fact I didn’t get from the story is whether the guy actually had any explosives on him. Because otherwise - there really isn’t a story. They(the media) will just look stupid. But why burden yourself with facts …