| | 2 | |
| | 3 | To install quintagroup.seoptimizer into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this: |
| | 4 | |
| | 5 | * |
| | 6 | |
| | 7 | Copy quintagroup folder to the /path/to/instance/lib/python directory. |
| | 8 | * |
| | 9 | |
| | 10 | Create a file called quintagroup.seoptimizer-configure.zcml in the /path/to/instance/etc/package-includes directory. The file should only contain this: |
| | 11 | |
| | 12 | <include package="quintagroup.seoptimizer" file="configure.zcml" /> |
| | 13 | |
| | 14 | * |
| | 15 | |
| | 16 | Create a file called quintagroup.seoptimizer-overrides.zcml in the /path/to/instance/etc/package-includes directory. The file should only contain this: |
| | 17 | |
| | 18 | <include package="quintagroup.seoptimizer" file="overrides.zcml" /> |
| | 19 | |
| | 20 | * |
| | 21 | |
| | 22 | Restart the Zope server, for example with the following command in the terminal: |
| | 23 | |
| | 24 | $ ./bin/zopectl restart |
| | 25 | |
| | 26 | Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this: |
| | 27 | |
| | 28 | * |
| | 29 | |
| | 30 | Add quintagroup.seoptimizer to the list of eggs to install, e.g.: |
| | 31 | |
| | 32 | [buildout] |
| | 33 | .... |
| | 34 | eggs = |
| | 35 | ... |
| | 36 | quintagroup.seoptimizer |
| | 37 | |
| | 38 | * |
| | 39 | |
| | 40 | Tell the plone.recipe.zope2instance recipe to install a ZCML slug: |
| | 41 | |
| | 42 | [instance] |
| | 43 | ... |
| | 44 | zcml = |
| | 45 | quintagroup.seoptimizer |
| | 46 | quintagroup.seoptimizer-overrides |
| | 47 | |
| | 48 | * |
| | 49 | |
| | 50 | Re-run buildout, e.g. with: |
| | 51 | |
| | 52 | $ ./bin/buildout |
| | 53 | |
| | 54 | * |
| | 55 | |
| | 56 | Restart the Zope server, e.g with the following command in the terminal: |
| | 57 | |
| | 58 | $ ./bin/instance restart |
| | 59 | |
| | 60 | Install quintagroup.seoptimizer via ZMI portal_setup. Select quintagroup.seoptimizer from the list of available profiles and press Import all steps. |
| | 61 | Uninstallation |
| | 62 | |
| | 63 | To uninstall quintagroup.seoptimizer - select quintagroup.seoptimizer uninstall profile from the list of available profiles and press Import all steps. |