[725] | 1 | Installation |
---|
| 2 | ============ |
---|
[539] | 3 | |
---|
[1802] | 4 | Buildout |
---|
| 5 | -------- |
---|
| 6 | |
---|
[725] | 7 | Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this: |
---|
[591] | 8 | |
---|
[725] | 9 | * Add ``quintagroup.seoptimizer`` to the list of eggs to install, e.g.:: |
---|
[591] | 10 | |
---|
[2475] | 11 | For Plone 4 - in your buildout.cfg file write:: |
---|
| 12 | |
---|
[725] | 13 | [buildout] |
---|
| 14 | .... |
---|
| 15 | eggs = |
---|
[591] | 16 | ... |
---|
[2475] | 17 | quintagroup.seoptimizer >=4.0 |
---|
[591] | 18 | |
---|
[2475] | 19 | For Plone 3 - in your buildout.cfg file write:: |
---|
| 20 | |
---|
| 21 | [buildout] |
---|
| 22 | .... |
---|
| 23 | eggs = |
---|
| 24 | ... |
---|
| 25 | quintagroup.seoptimizer >3.0,<4.0 |
---|
| 26 | |
---|
[725] | 27 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: |
---|
[591] | 28 | |
---|
[725] | 29 | [instance] |
---|
| 30 | ... |
---|
| 31 | zcml = |
---|
| 32 | quintagroup.seoptimizer |
---|
[591] | 33 | |
---|
[725] | 34 | * Re-run buildout, e.g. with:: |
---|
[591] | 35 | |
---|
[725] | 36 | $ ./bin/buildout |
---|
[591] | 37 | |
---|
[847] | 38 | * Restart the Zope server, e.g with the following command in the terminal:: |
---|
[591] | 39 | |
---|
[847] | 40 | $ ./bin/instance restart |
---|
| 41 | |
---|
[2196] | 42 | |
---|
| 43 | Traditional Zope 2 Instance |
---|
| 44 | --------------------------- |
---|
| 45 | |
---|
| 46 | To install quintagroup.seoptimizer into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this: |
---|
| 47 | |
---|
| 48 | * Copy ``quintagroup`` folder to your instance's */lib/python* directory. |
---|
| 49 | |
---|
| 50 | * Create a file called ``quintagroup.seoptimizer-configure.zcml`` in your instance's */etc/package-includes* directory. The file should only contain this:: |
---|
| 51 | |
---|
| 52 | <include package="quintagroup.seoptimizer" file="configure.zcml" /> |
---|
| 53 | |
---|
| 54 | * Restart the Zope server, for example with the following command in the terminal:: |
---|
| 55 | |
---|
| 56 | $ ./bin/zopectl restart |
---|
| 57 | |
---|
| 58 | |
---|
[1553] | 59 | Install quintagroup.seoptimizer via ZMI portal_setup -> *Import* tab. Select ``quintagroup.seoptimizer`` from the list of available profiles and press *Import all steps*. |
---|
[591] | 60 | |
---|
[725] | 61 | Uninstallation |
---|
| 62 | ============== |
---|
| 63 | |
---|
[1553] | 64 | To uninstall quintagroup.seoptimizer - go to ZMI portal_setup -> *Import* tab. Select ``quintagroup.seoptimizer uninstall`` profile from the list of available profiles and press *Import all steps*. |
---|
[2332] | 65 | |
---|
| 66 | Package Upgrade / Reinstall |
---|
| 67 | =========================== |
---|
| 68 | |
---|
| 69 | In case you want to upgrate quintagroup.seoptimizer to a newer version in your buildout: |
---|
| 70 | |
---|
| 71 | * Remove ``quintagroup.seoptimizer-overrides`` from ``buildout.cfg`` file's ZCML area if it is there (starting from 3.0 release - quintagroup.seoptimizer package does not use overrides.zcml file any longer) |
---|
| 72 | |
---|
| 73 | * Upgrade quintagroup.seoptimizer to the newer version using buildout (rerun the buildout to replace old package with a new one in your instance) |
---|
| 74 | |
---|
| 75 | * Run the reinstall procedure: visit "Site Setup" -> "Add-ons" control panel in your Plone site, where you have to press quintagroup.seoptimizer button next to Upgrade. (The same can be done with quickinstaller via ZMI: at /portal_quickinstaller/manage_installProductsForm: check the seoptimizer box and press Reinstall button.) This is an essential step as new version of product introduces new persistent settings and ways to migrate settings/content from old to new version. |
---|