| 34 | == Installation == |
| 35 | |
| 36 | === Plone 3, 4 Buildout === |
| 37 | |
| 38 | If you are using buildout to manage your project, you can do this: |
| 39 | |
| 40 | * Add quintagroup.plonecomments to the list of eggs to install, e.g.: |
| 41 | {{{ |
| 42 | [buildout] |
| 43 | ... |
| 44 | eggs = |
| 45 | ... |
| 46 | quintagroup.plonecomments |
| 47 | }}} |
| 48 | |
| 49 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug for this product: add quintagroup.plonecomments to zcml area: |
| 50 | |
| 51 | {{{ |
| 52 | [instance] |
| 53 | recipe = plone.recipe.zope2instance |
| 54 | ... |
| 55 | zcml = |
| 56 | quintagroup.plonecomments |
| 57 | quintagroup.plonecomments-overrides |
| 58 | }}} |
| 59 | |
| 60 | * Re-run buildout, e.g. with: |
| 61 | |
| 62 | {{{ |
| 63 | $ ./bin/buildout |
| 64 | }}} |
| 65 | |
| 66 | * Restart the Zope server, for example, with the following command in the terminal: |
| 67 | |
| 68 | {{{ |
| 69 | $ ./bin/instance restart |
| 70 | }}} |
| 71 | |
| 72 | * Install quintagroup.plonecomments via ZMI portal_setup. Select quintagroup.plonecomments from the list of available profiles and press Import all steps. |
| 73 | |
| 74 | {{{ |
| 75 | Atention: If you are using a Plone version before 3.1 you need to install "plone.browserlayer":http://pypi.python.org/pypi/plone.browserlayer (which also requires a "GenericSetup":http://pypi.python.org/pypi/Products.GenericSetup version greater than 1.4) in your Plone site. It shows up as Local browser layer support in the Plone Add-on Products Control Panel. |
| 76 | }}} |
| 77 | |
| 78 | === Traditional Zope 2 Instance === |
| 79 | |
| 80 | To install quintagroup.plonecomments into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this: |
| 81 | |
| 82 | * Copy '''quintagroup''' folder to your instance ''/lib/python'' directory. |
| 83 | * Create a file called '''quintagroup.plonecomments-configure.zcml''' in your instance ''/etc/package-includes'' directory. The file should only contain this: |
| 84 | {{{ |
| 85 | <include package="quintagroup.plonecomments" file="configure.zcml" /> |
| 86 | }}} |
| 87 | * Create a file called '''quintagroup.plonecomments-overrides.zcml''' in your instance ''/etc/package-includes'' directory. The file should only contain this: |
| 88 | {{{ |
| 89 | <include package="quintagroup.plonecomments" file="overrides.zcml" /> |
| 90 | }}} |
| 91 | * Restart the Zope server, for example, with the following command in the terminal: |
| 92 | {{{ |
| 93 | $ ./bin/zopectl restart |
| 94 | }}} |
| 95 | |
| 96 | == Uninstallation == |
| 97 | |
| 98 | * To uninstall quintagroup.plonecomments - select quintagroup.plonecomments uninstall profile from the list of available profiles and press Import all steps. |
| 99 | |