[Grok-dev] Manipulating the Grok ZODB via Script.

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon Jul 12 04:33:22 EDT 2010


On 7/12/10 9:33 AM, Achim Domma wrote:
> Am 12.07.2010 um 06:55 schrieb Jasper Spaans:
>
>> Sure, not a problem. Start by setting up a connection to your ZODB, and fetching the root object:
> [...]
>> Now you can add any object you like:
> [...]
>>
>> After this, you can start your grok application and everything should be in place.
>
> Sounds quite simple, but isn't it too simple? What about groking my classes and the Grok infrastructure? I guess if I create an application like this, no events are fired, no local utilities are created, ... Or am I wrong?

That's exactly what is taken care of when using 
./bin/interactive_debugger [somescript.py]. The application is 
completely setup like when actually running it as a web application 
including all component configuration.

regards, jw



More information about the Grok-dev mailing list