source: products/quintagroup.seoptimizer/trunk/docs/INSTALL.txt @ 2332

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

reinstallation instructions added.

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