Mailing List Archive

[Zope-PTK] Sample portal to play with.
In response to a request Paul made a long while ago, I have set up a
sample portal based on the latest CVS update on Zope 2.1.6 using
Zserver. It's existence is purely to give everyone a place to try out
the new features of the latest PTK. I will try to update at least once
a week (1).

It's at http://www.hammersmiths.org:9080/test_portal

Since it's ZServer, and I don't have access to the startup scripts, when
the machine reboots it will be down. If it's down, e-mail me and I'll
start it back up. I will have this fixed shortly (2).

(1) What's the best way to upgrade the PTK? I assume a simple cvs
update could possibly break the instances in the ZODB, already.

(2) How do other web hosts handle this? I'm going to try to write a
package that gives users a ~/.rc.d that mirrors the format of the SysV
init stuff in /etc/rc.d on Red Hat (and others, I know) systems.
Hopefully I can convince my webhost to install it. :)

Enjoy!

-Otto.
Re: [Zope-PTK] Sample portal to play with. [ In reply to ]
On Fri, 7 Apr 2000, Otto Hammersmith wrote:

> (1) What's the best way to upgrade the PTK? I assume a simple cvs
> update could possibly break the instances in the ZODB, already.

I'll do my best to give notice when I make changes which will break
existing objects. All the same, it's best to make a backup before
doing a 'cvs up'.

The easiest way to set things up is to checkout ZopePTK someplace
safe, and then make symbolic links from ZopePTK/* to
$ZOPEHOME/lib/python/Products/*. Then, you can cd to your ZopePTK
folder and do an update there, and restart your server to see the
changes.

When you do a CVS update, take careful note of whether or not
ZopePTK/PTKDemo/DemoPortal.zexp has been updated. (I will make note
of this in the mailing list as well.) If it has been, you must delete
your /Control_Panel/Products/DemoPortal Product, re-import it,
restart, and refresh your instance's interface. To do the refresh,
log in as a Manager, select 'Reconfigure Portal' from the Toolbox, and
click the appropreate link in the first paragraph of the page it takes
you to. This will wipe out any changes that you've made to the
interface files since the last refresh/instantiation.

(Actually, the restart may not be necisary on a re-import.)

> (2) How do other web hosts handle this? I'm going to try to write a
> package that gives users a ~/.rc.d that mirrors the format of the SysV
> init stuff in /etc/rc.d on Red Hat (and others, I know) systems.
> Hopefully I can convince my webhost to install it. :)

This is generally not a problem, because the typical Zope-based
venture is so astronomically successful, they buy out their hosting
provider before the first reboot occurs. Guaranteed to work, or
double your money back.

(I can offer no genuine advice.)

> Enjoy!

Thanks a ton! This is the third public PTK I've been notified of in
24 hours, but the first playground. May I publish links to it?

Mike.

--
Mike Pelletier email: mike@digicool.com
Mild mannered software developer icq: 7127228
by day, super villain by night. phone: 519-884-2434