[Zope3-Users] Re: Running Zope3 interactively

Michael Haubenwallner michael at d2m.at
Thu Nov 25 23:50:55 EST 2004


Tom Dossis wrote:
> Hi all,
> I'd like to run Zope3 interactively (from the python prompt)...
> 
> # from runzope
> from zope.app.server.main import setup
> setup(['-C', '/pathto/zope.conf'])
> 
> # Now what?
> # under zope2 I could do something like...
> # import Zope
> # app = Zope.app()
> # ob = app.restrictedTraverse('/pathto/content')
> 
> -Tom

Hi, description for how to run ZopeX3 interactive
and/or with a debugger comes with your documentation:
look at doc/DEBUG.txt or
http://svn.zope.org/Zope3/trunk/doc/DEBUG.txt?rev=24845&view=markup (latest)

-- 
http://zope.org/Members/d2m



More information about the Zope3-users mailing list