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

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

doc files updated

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