Last change
on this file since 2054 was
2054,
checked in by olha, 14 years ago
|
INSTALL and README files updated.
|
File size:
1.6 KB
|
Rev | Line | |
---|
[2054] | 1 | Installation |
---|
| 2 | ============ |
---|
[797] | 3 | |
---|
[2054] | 4 | Buildout |
---|
| 5 | -------- |
---|
[797] | 6 | |
---|
[2054] | 7 | To install quintagroup.plonecaptchas to your buildout-based project: |
---|
[797] | 8 | |
---|
[2054] | 9 | * Add ``quintagroup.plonecaptchas`` to the list of eggs to install:: |
---|
[797] | 10 | |
---|
| 11 | [buildout] |
---|
| 12 | ... |
---|
| 13 | eggs = |
---|
| 14 | ... |
---|
| 15 | quintagroup.plonecaptchas |
---|
| 16 | |
---|
[2054] | 17 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: |
---|
[797] | 18 | |
---|
| 19 | [instance] |
---|
| 20 | recipe = plone.recipe.zope2instance |
---|
| 21 | ... |
---|
| 22 | zcml = |
---|
| 23 | quintagroup.plonecaptchas |
---|
| 24 | |
---|
[2054] | 25 | * Re-run buildout, e.g. with:: |
---|
[797] | 26 | |
---|
| 27 | $ ./bin/buildout |
---|
[2054] | 28 | |
---|
| 29 | * Restart the Zope server, e.g with the following command in the terminal:: |
---|
| 30 | |
---|
| 31 | $ ./bin/instance restart |
---|
| 32 | |
---|
| 33 | * Install ``Plone Captchas`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products). |
---|
| 34 | ``Quintagroup Captcha Core`` will automatically be installed as dependency. |
---|
[797] | 35 | |
---|
[2054] | 36 | |
---|
| 37 | Traditional Zope 2 instance |
---|
| 38 | --------------------------- |
---|
| 39 | |
---|
| 40 | To install quintagroup.plonecaptchas into the global Python environment (or a workingenv), |
---|
| 41 | using a traditional Zope 2 instance, you can do this: |
---|
| 42 | |
---|
| 43 | * Copy ``quintagroup`` folder to your instance's ``/lib/python`` directory. |
---|
| 44 | |
---|
| 45 | * Create a file called ``quintagroup.plonecaptchas-configure.zcml`` in your instance's ``/etc/package-includes`` directory. The file |
---|
| 46 | should only contain this:: |
---|
| 47 | |
---|
| 48 | <include package="quintagroup.plonecaptchas" /> |
---|
| 49 | |
---|
| 50 | * Restart the Zope server, for example with the following command in the terminal:: |
---|
| 51 | |
---|
| 52 | $ ./bin/zopectl restart |
---|
| 53 | |
---|
| 54 | * Install ``Plone Captchas`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products). |
---|
| 55 | ``Quintagroup Captcha Core`` will automatically be installed as dependency. |
---|
Note: See
TracBrowser
for help on using the repository browser.