Hello,

I heard Paulo Jorge de Oliveira Cantante de Matos said:

> There is no 'zope' executable or anything similar. Has anyone tried
> it?

Okay, so here's how Zope startup goes, apparently.

1) Right after installation, you need to set stuff up. This is 
supposedly done like this:

  ebuild /var/db/pkg/net-zope/zope-2.6.0-r1/zope-2.6.0-r1.ebuild config

This Didn't Work(tm) for me, though, so I just did it manually.
As root:

  cd /usr/share/zope/2.6.0
  python zpasswd.py -u admin -p MySeekritPassword inituser

There, you're all set. The admin password will let you do things through 
the Zope Management Interface. This is pretty important. :)

2) Then the proper way to start zope is:
  /etc/init.d/zope start

If for some reason you want to do it manually, just do:
  python2.1 /usr/share/zope/2.6.0/z2.py -u root


For the details:

Zope is written in Python. This can be compiled for standalone 
distribution, but it's generally not worth it. The 'executable' is thus 
a Python program, namely z2.py.

Note that we explicitely start it with python2.1. The current stable 
release of Python is version 2.2, but Zope is based on 2.1, and while 
it Should Work with Python 2.2 it's just easier not to bother and run 
it with 2.1.

There, I guess that's about it. Hope this helps. Enjoy your shiny new 
Zope server. This thing Kicks Serious Ass.

-- S.

--
[EMAIL PROTECTED] mailing list

Reply via email to