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