[2053] | 1 | Installation |
---|
| 2 | ============ |
---|
[1969] | 3 | |
---|
[2061] | 4 | quintagroup.pfg.captcha has 2 dependencies: PloneFormGen and quintagroup.captcha.core. |
---|
| 5 | Don't forget to install them as well. Please make sure that the products are intalled |
---|
| 6 | in the following order: |
---|
[1969] | 7 | |
---|
[2061] | 8 | * PloneFormGen |
---|
| 9 | * quintagroup.captcha.core |
---|
| 10 | * quintagroup.pfg.captcha |
---|
| 11 | |
---|
| 12 | quintagroup.pfg.captcha on Buildout |
---|
| 13 | ----------------------------------- |
---|
| 14 | |
---|
[2053] | 15 | To install quintagroup.pfg.captcha to your buildout-based project: |
---|
[1969] | 16 | |
---|
[2053] | 17 | * Add ``quintagroup.pfg.captcha`` to the list of eggs to install:: |
---|
[1969] | 18 | |
---|
| 19 | [buildout] |
---|
| 20 | ... |
---|
| 21 | eggs = |
---|
| 22 | ... |
---|
| 23 | quintagroup.pfg.captcha |
---|
[2053] | 24 | |
---|
| 25 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: |
---|
[1969] | 26 | |
---|
| 27 | [instance] |
---|
| 28 | recipe = plone.recipe.zope2instance |
---|
| 29 | ... |
---|
| 30 | zcml = |
---|
| 31 | quintagroup.pfg.captcha |
---|
[2053] | 32 | |
---|
| 33 | * Re-run buildout, e.g. with:: |
---|
[1969] | 34 | |
---|
| 35 | $ ./bin/buildout |
---|
[2053] | 36 | |
---|
| 37 | * Restart the Zope server, e.g with the following command in the terminal:: |
---|
[1969] | 38 | |
---|
[2053] | 39 | $ ./bin/instance restart |
---|
| 40 | |
---|
| 41 | * Install ``quintagroup.pfg.captcha`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
---|
| 42 | |
---|
| 43 | |
---|
[2061] | 44 | quintagroup.pfg.captcha on Traditional Zope 2 instance |
---|
| 45 | ------------------------------------------------------ |
---|
[2053] | 46 | |
---|
| 47 | To install quintagroup.pfg.captcha into the global Python environment (or a workingenv), |
---|
| 48 | using a traditional Zope 2 instance, you can do this: |
---|
| 49 | |
---|
| 50 | * Copy ``quintagroup`` folder to your instance's ``/lib/python`` directory. |
---|
| 51 | |
---|
| 52 | * Create a file called ``quintagroup.pfg.captcha-configure.zcml`` in your instance's ``/etc/package-includes`` directory. The file |
---|
| 53 | should only contain this:: |
---|
| 54 | |
---|
| 55 | <include package="quintagroup.pfg.captcha" /> |
---|
| 56 | |
---|
| 57 | * Restart the Zope server, for example with the following command in the terminal:: |
---|
| 58 | |
---|
| 59 | $ ./bin/zopectl restart |
---|
| 60 | |
---|
| 61 | * Install ``quintagroup.pfg.captcha`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
---|
| 62 | |
---|