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