source: products/quintagroup.seoptimizer/branches/plone4/docs/INSTALL.txt @ 2723

Last change on this file since 2723 was 2474, checked in by olha, 14 years ago

info about product version for buildout added

  • Property svn:eol-style set to native
File size: 2.8 KB
Line 
1Installation
2============
3
4Buildout
5--------
6
7Alternatively, 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
28* Tell the plone.recipe.zope2instance recipe to install a ZCML slug::
29
30   [instance]
31   ...
32   zcml =
33       quintagroup.seoptimizer
34
35* Re-run buildout, e.g. with::
36
37   $ ./bin/buildout
38
39* Restart the Zope server, e.g with the following command in the terminal::
40
41   $ ./bin/instance restart
42
43
44Traditional Zope 2 Instance
45---------------------------
46
47To install quintagroup.seoptimizer into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this:
48
49* Copy ``quintagroup`` folder to your instance's */lib/python* directory.
50
51* Create a file called ``quintagroup.seoptimizer-configure.zcml`` in your instance's */etc/package-includes* directory. The file should only contain this::
52
53  <include package="quintagroup.seoptimizer" file="configure.zcml" />
54
55* Restart the Zope server, for example with the following command in the terminal::
56
57   $ ./bin/zopectl restart
58
59
60Install quintagroup.seoptimizer via ZMI portal_setup  -> *Import* tab. Select ``quintagroup.seoptimizer`` from the list of available profiles and press *Import all steps*.
61
62Uninstallation
63==============
64
65To 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*.
66
67Package Upgrade / Reinstall
68===========================
69
70In case you want to upgrate quintagroup.seoptimizer to a newer version in your buildout:
71
72* 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)
73
74* Upgrade quintagroup.seoptimizer to the newer version using buildout (rerun the buildout to replace old package with a new one in your instance)
75
76* 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.
77
Note: See TracBrowser for help on using the repository browser.