1 | Installation |
---|
2 | ============ |
---|
3 | |
---|
4 | Buildout |
---|
5 | -------- |
---|
6 | |
---|
7 | Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this: |
---|
8 | |
---|
9 | * Add ``quintagroup.seoptimizer`` to the list of eggs to install, e.g.:: |
---|
10 | |
---|
11 | For Plone 4 - in your buildout.cfg file write:: |
---|
12 | |
---|
13 | [buildout] |
---|
14 | .... |
---|
15 | eggs = |
---|
16 | ... |
---|
17 | quintagroup.seoptimizer >=4.0 |
---|
18 | |
---|
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 | |
---|
27 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: |
---|
28 | |
---|
29 | [instance] |
---|
30 | ... |
---|
31 | zcml = |
---|
32 | quintagroup.seoptimizer |
---|
33 | |
---|
34 | * Re-run buildout, e.g. with:: |
---|
35 | |
---|
36 | $ ./bin/buildout |
---|
37 | |
---|
38 | * Restart the Zope server, e.g with the following command in the terminal:: |
---|
39 | |
---|
40 | $ ./bin/instance restart |
---|
41 | |
---|
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 | |
---|
59 | Install quintagroup.seoptimizer via ZMI portal_setup -> *Import* tab. Select ``quintagroup.seoptimizer`` from the list of available profiles and press *Import all steps*. |
---|
60 | |
---|
61 | Uninstallation |
---|
62 | ============== |
---|
63 | |
---|
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*. |
---|
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. |
---|