[Grok-dev] howto run python scripts with grok application

Lacko Roman rlacko at gratex.com
Sat Jan 2 10:00:41 EST 2010


>> Assuming the ./bin/zopectl script is available in your project you can do:
>>  $ ./bin/zopectl run [myscript]

wel, grokproject (1.0) creates just ./bin/myapp-ctl and ./bin/myapp-debug, nothing like ./bin/zopectl

and ./bin/myapp-ctl does not work with run parameter:

$ ./bin/myapp-ctl run myscript.py
$ *** Unknown syntax: run

I need some scenario how to import external data to ZODB with ZCA configured, because i need also index imported data for zope.catalog


- Roman

More information about the Grok-dev mailing list