1 | quintagroup.plonegooglesitemaps Installation |
---|
2 | ============================================ |
---|
3 | |
---|
4 | Buildout |
---|
5 | -------- |
---|
6 | |
---|
7 | To install quintagroup.plonegooglesitemaps to your buildout-based project: |
---|
8 | |
---|
9 | * Add ``quintagroup.plonegooglesitemaps`` to the list of eggs to install:: |
---|
10 | |
---|
11 | [buildout] |
---|
12 | ... |
---|
13 | eggs = |
---|
14 | ... |
---|
15 | quintagroup.plonegooglesitemaps |
---|
16 | |
---|
17 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: |
---|
18 | |
---|
19 | [instance] |
---|
20 | recipe = plone.recipe.zope2instance |
---|
21 | ... |
---|
22 | zcml = |
---|
23 | quintagroup.plonegooglesitemaps |
---|
24 | |
---|
25 | * Re-run buildout, e.g. with:: |
---|
26 | |
---|
27 | $ ./bin/buildout |
---|
28 | |
---|
29 | * Restart the Zope server, e.g with the following command in the terminal:: |
---|
30 | |
---|
31 | $ ./bin/instance restart |
---|
32 | |
---|
33 | * Install ``Plone Google Sitemaps`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
---|
34 | |
---|
35 | |
---|
36 | Traditional Zope 2 instance |
---|
37 | --------------------------- |
---|
38 | |
---|
39 | To install quintagroup.plonegooglesitemaps into the global Python environment (or a workingenv), |
---|
40 | using a traditional Zope 2 instance, you can do this: |
---|
41 | |
---|
42 | * Copy ``quintagroup`` folder to your instance's ``/lib/python`` directory. |
---|
43 | |
---|
44 | * Create a file called ``quintagroup.plonegooglesitemaps-configure.zcml`` in your instance's ``/etc/package-includes`` directory. The file |
---|
45 | should only contain this:: |
---|
46 | |
---|
47 | <include package="quintagroup.plonegooglesitemaps" /> |
---|
48 | |
---|
49 | * Restart the Zope server, for example with the following command in the terminal:: |
---|
50 | |
---|
51 | $ ./bin/zopectl restart |
---|
52 | |
---|
53 | * Install ``Plone Google Sitemaps`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
---|
54 | |
---|
55 | |
---|
56 | IMPORTANT |
---|
57 | --------- |
---|
58 | |
---|
59 | * After installation portal_catalog rebuild needed. |
---|
60 | By default catalog NOT rebuilded. You may rebuild catalog in 2 ways: |
---|
61 | ** by hand: go to /<plone instance id>/portal_catalog/manage_catalogAdvanced |
---|
62 | and push *Update* button. |
---|
63 | ** allow catalog rebuilding on quintagroup.plonegooglesitemap installation. |
---|
64 | For that - set *UPDATE_CATALOG* property to *True* in |
---|
65 | quintagroup.plonegooglesitemaps.config python module. |
---|