source: products/quintagroup.plonecomments/trunk/docs/INSTALL.txt @ 1233

Last change on this file since 1233 was 1233, checked in by olha, 10 years ago

INSTALL.txt & HISTORY.txt updated

File size: 2.3 KB
Line 
1===========================
2Installation/Uninstallation
3===========================
4
5Installation
6------------
7
8To install quintagroup.plonecomments into the global Python environment (or a workingenv),
9using a traditional Zope 2 instance, you can do this:
10
11* Copy ``quintagroup`` folder to the ``/path/to/instance/lib/python`` directory.
12
13* Creare a file called ``quintagroup.plonecomments-configure.zcml`` in the
14  */path/to/instance/etc/package-includes* directory. The file should
15  only contain this::
16
17    <include package="quintagroup.plonecomments" file="configure.zcml" />
18
19* Create a file called ``quintagroup.plonecomments-overrides.zcml`` into the   */path/to/instance/etc/package-includes* directory. The file should
20  only contain this::
21
22  <include package="quintagroup.plonecomments" file="overrides.zcml" />
23
24* Restart the Zope server, for example, with the following command in the terminal::
25
26   $ ./bin/zopectl restart
27
28Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance
29recipe to manage your project, you can do this:
30
31* Add ``quintagroup.plonecomments`` to the list of eggs to install, e.g.::
32
33    [buildout]
34    ...
35    eggs =
36        ...
37        quintagroup.plonecomments
38       
39* Tell the plone.recipe.zope2instance recipe to install a ZCML slug::
40
41    [instance]
42    recipe = plone.recipe.zope2instance
43    ...
44    zcml =
45        quintagroup.plonecomments
46        quintagroup.plonecomments-overrides
47     
48* Re-run buildout, e.g. with::
49
50    $ ./bin/buildout
51
52* Restart the Zope server, for example, with the following command in the terminal::
53
54    $ ./bin/instance restart
55
56* Install quintagroup.plonecomments via ZMI portal_setup. Select ``quintagroup.plonecomments``
57  from the list of available profiles and press *Import all steps*.
58
59
60  **Atention**: If you are using a Plone version **before** 3.1 you need to install
61  "plone.browserlayer":http://pypi.python.org/pypi/plone.browserlayer (which also
62  requires a "GenericSetup":http://pypi.python.org/pypi/Products.GenericSetup version
63  greater than 1.4) in your Plone site. It shows up as **Local browser layer support**
64  in the Plone Add-on Products Control Panel.
65
66
67Uninstallation
68--------------
69
70* To uninstall quintagroup.plonecomments - select ``quintagroup.plonecomments uninstall``
71  profile from the list of available profiles and press *Import all steps*.
Note: See TracBrowser for help on using the repository browser.