Last change
on this file since 1561 was
1085,
checked in by olha, 15 years ago
|
README.txt and INSTALL.txt files corrected
|
File size:
1.2 KB
|
Rev | Line | |
---|
[797] | 1 | quintagroup.plonecaptchas Installation |
---|
| 2 | -------------------------------------- |
---|
| 3 | |
---|
| 4 | To install quintagroup.plonecaptchas into the global Python environment (or a workingenv), |
---|
| 5 | using a traditional Zope 2 instance, you can do this: |
---|
| 6 | |
---|
[1085] | 7 | * Copy ``quintagroup`` folder to the /path/to/instance/lib/python directory. |
---|
[797] | 8 | |
---|
[1085] | 9 | * Create a file called ``quintagroup.plonecaptchas-overrides.zcml`` in |
---|
| 10 | the /path/to/instance/etc/package-includes directory. The file should only contain this:: |
---|
[797] | 11 | |
---|
[1085] | 12 | <include package="quintagroup.plonecaptchas" file="overrides.zcml" /> |
---|
[797] | 13 | |
---|
[1085] | 14 | * Restart the Zope server, for example with the following command in the terminal:: |
---|
[797] | 15 | |
---|
[1085] | 16 | $ ./bin/zopectl restart |
---|
[797] | 17 | |
---|
| 18 | Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance |
---|
| 19 | recipe to manage your project, you can do this: |
---|
| 20 | |
---|
| 21 | * Add ``quintagroup.plonecaptchas`` to the list of eggs to install, e.g.: |
---|
| 22 | |
---|
| 23 | [buildout] |
---|
| 24 | ... |
---|
| 25 | eggs = |
---|
| 26 | ... |
---|
| 27 | quintagroup.plonecaptchas |
---|
| 28 | |
---|
| 29 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug: |
---|
| 30 | |
---|
| 31 | [instance] |
---|
| 32 | recipe = plone.recipe.zope2instance |
---|
| 33 | ... |
---|
| 34 | zcml = |
---|
| 35 | quintagroup.plonecaptchas |
---|
| 36 | |
---|
| 37 | * Re-run buildout, e.g. with: |
---|
| 38 | |
---|
| 39 | $ ./bin/buildout |
---|
| 40 | |
---|
[1085] | 41 | Install quintagroup.plonecaptchas with Quickinstaller in Plone. |
---|
Note: See
TracBrowser
for help on using the repository browser.