1 | Installation |
---|
2 | ============ |
---|
3 | |
---|
4 | Quintagroup PloneFormGen CaptchaField should be installed only after PloneFormGen, |
---|
5 | otherwise it might fail to work correctly. |
---|
6 | |
---|
7 | quintagroup.pfg.captcha on Buildout |
---|
8 | ----------------------------------- |
---|
9 | |
---|
10 | To install quintagroup.pfg.captcha to your buildout-based project: |
---|
11 | |
---|
12 | * Add ``quintagroup.pfg.captcha`` to the list of eggs to install:: |
---|
13 | |
---|
14 | [buildout] |
---|
15 | ... |
---|
16 | eggs = |
---|
17 | ... |
---|
18 | quintagroup.pfg.captcha |
---|
19 | |
---|
20 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: |
---|
21 | |
---|
22 | [instance] |
---|
23 | recipe = plone.recipe.zope2instance |
---|
24 | ... |
---|
25 | zcml = |
---|
26 | quintagroup.pfg.captcha |
---|
27 | |
---|
28 | * Re-run buildout, e.g. with:: |
---|
29 | |
---|
30 | $ ./bin/buildout |
---|
31 | |
---|
32 | * Restart the Zope server, e.g with the following command in the terminal:: |
---|
33 | |
---|
34 | $ ./bin/instance restart |
---|
35 | |
---|
36 | * Install ``quintagroup.pfg.captcha`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
---|
37 | |
---|
38 | |
---|
39 | quintagroup.pfg.captcha on Traditional Zope 2 instance |
---|
40 | ------------------------------------------------------ |
---|
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 | |
---|