1 | Installation |
---|
2 | ============ |
---|
3 | |
---|
4 | Buildout |
---|
5 | -------- |
---|
6 | |
---|
7 | To install quintagroup.plonecaptchas to your buildout-based project: |
---|
8 | |
---|
9 | * Add ``quintagroup.plonecaptchas`` to the list of eggs to install:: |
---|
10 | |
---|
11 | [buildout] |
---|
12 | ... |
---|
13 | eggs = |
---|
14 | ... |
---|
15 | quintagroup.plonecaptchas |
---|
16 | |
---|
17 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: |
---|
18 | |
---|
19 | [instance] |
---|
20 | recipe = plone.recipe.zope2instance |
---|
21 | ... |
---|
22 | zcml = |
---|
23 | quintagroup.plonecaptchas |
---|
24 | |
---|
25 | * Re-run buildout, e.g. with:: |
---|
26 | |
---|
27 | $ ./bin/buildout |
---|
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. |
---|
35 | |
---|
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. |
---|