This provide a script cg.devmode
which can do some actions on a zope instance.
The main use is when you grab the production datafs, you 'll need to sanitize the content a little. The sanitization include changing all passwords and all emails at once.
Another use is for running scripts without any security (we just give us all rights ;))
Contents
- Svn : https://svn.plone.org/svn/collective/collective.generic.devmode/trunk/
- Developement supported by : Makina Corpus
./bin/cg.devmode -m [email protected]
./bin/cg.devmode -p --password=secret
./bin/cg.devmode -a --password=secret
./bin/cg.devmode -r --script=</path/to/file.py> [--script-args="String"] # equivalent of ./bin/instance run toto.py String except for security
./bin/cg.devmode -v [ARGS]
./bin/cg.devmode -c <CONFIGGILE>
./bin/cg.devmode -l <PLONE_SITE_ID>
./bin/cg.devmode --user <ADMIN_USER>