[Zope] command line Zope?
Chris McDonough
chrism@digicool.com
Thu, 15 Feb 2001 09:53:02 -0500
You can also start here:
cd to your Zope dir's lib/python
start python
>>> import Zope
>>> app = Zope.app()
>>> app.acl_users
>>> <User Folder at 819283>
... rinse, repeat.
----- Original Message -----
From: "Kyler B. Laird" <laird@ecn.purdue.edu>
To: <zope@zope.org>
Sent: Thursday, February 15, 2001 9:08 AM
Subject: [Zope] command line Zope?
>
> I'm trying to roll out Zope for wide usage and
> one of the things users want already is a
> command line interface to Zope. At first, I
> thought that it was a silly request, but the
> more I think about it, the more I like it.
>
> In order to provide this, I need a way to run
> Python such that it connects to the ZODB
> (perhaps requiring ZEO?) and gives the user
> access to the database only as a specified
> user (with the option of manually
> authenticating to receive additional roles).
>
> Is this easy to do? Has it already been done?
> I read about importing Persistence and ZODB,
> but I'm clueless about setting up a user's
> environment in Python.
>
> Any pointers to appropriate documentation will
> be greatly appreciated.
>
> Thank you.
>
> --kyler
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>