1 | quintagroup.plonegooglesitemaps Installation |
---|
2 | -------------------------------------------- |
---|
3 | |
---|
4 | To install quintagroup.plonegooglesitemaps into the global Python environment (or a workingenv), |
---|
5 | using a traditional Zope 2 instance, you can do this: |
---|
6 | |
---|
7 | * When you're reading this you have probably already run |
---|
8 | ``easy_install quintagroup.plonegooglesitemaps``. Find out how to install setuptools |
---|
9 | (and EasyInstall) here: |
---|
10 | http://peak.telecommunity.com/DevCenter/EasyInstall |
---|
11 | |
---|
12 | * If you are using Zope 2.9 (not 2.10), get `pythonproducts`_ and install it |
---|
13 | via:: |
---|
14 | |
---|
15 | python setup.py install --home /path/to/instance |
---|
16 | |
---|
17 | into your Zope instance. |
---|
18 | |
---|
19 | * Create a file called ``quintagroup.plonegooglesitemaps-configure.zcml`` in the |
---|
20 | ``/path/to/instance/etc/package-includes`` directory. The file |
---|
21 | should only contain this:: |
---|
22 | |
---|
23 | <include package="quintagroup.plonegooglesitemaps" /> |
---|
24 | |
---|
25 | .. _pythonproducts: http://plone.org/products/pythonproducts |
---|
26 | |
---|
27 | |
---|
28 | Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance |
---|
29 | recipe to manage your project, you can do this: |
---|
30 | |
---|
31 | * Add ``quintagroup.plonegooglesitemaps`` to the list of eggs to install, e.g.: |
---|
32 | |
---|
33 | [buildout] |
---|
34 | ... |
---|
35 | eggs = |
---|
36 | ... |
---|
37 | quintagroup.plonegooglesitemaps |
---|
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.plonegooglesitemaps |
---|
46 | |
---|
47 | * Re-run buildout, e.g. with: |
---|
48 | |
---|
49 | $ ./bin/buildout |
---|
50 | |
---|
51 | You can skip the ZCML slug if you are going to explicitly include the package |
---|
52 | from another package's configure.zcml file. |
---|
53 | |
---|
54 | |
---|
55 | Plone Google Sitemaps Installation in Plone instance |
---|
56 | ==================================================== |
---|
57 | |
---|
58 | Plone Google Sitemaps can be installed as an old-type Plone product. |
---|
59 | |
---|
60 | 1. Go to your Plone Site "Site Setup" area |
---|
61 | |
---|
62 | 2. Choose "Add/Remove Products" item in the Plone Configuration list |
---|
63 | |
---|
64 | 3. Select "Plone Google Sitemaps" product among products available for installation |
---|
65 | |
---|
66 | 4. Press the Install button below the table |
---|
67 | |
---|
68 | 5. Make sure the product appeared in the right column of installed products and "Google Sitemaps" |
---|
69 | appeared under Add-on Products Configuration. |
---|
70 | |
---|