| 46 | To install quintagroup.plonegooglesitemaps into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this: |
| 47 | |
| 48 | * Copy '''quintagroup''' folder to your instance's '''/lib/python''' directory. |
| 49 | |
| 50 | * Create a file called '''quintagroup.plonegooglesitemaps-configure.zcml''' in your instance's '''/etc/package-includes''' directory. The file should only contain this: |
| 51 | |
| 52 | {{{ |
| 53 | <include package="quintagroup.plonegooglesitemaps" /> |
| 54 | }}} |
| 55 | |
| 56 | |
| 57 | * Create a file called '''quintagroup.plonegooglesitemaps-overrides.zcml''' in your instance's '''/etc/package-includes''' directory. The file should only contain this: |
| 58 | |
| 59 | {{{ |
| 60 | <include package="quintagroup.plonegooglesitemaps" file="overrides.zcml" /> |
| 61 | }}} |
| 62 | |
| 63 | * Restart the Zope server, for example with the following command in the terminal: |
| 64 | |
| 65 | {{{ |
| 66 | $ ./bin/zopectl restart |
| 67 | }}} |
| 68 | |
| 69 | == IMPORTANT == |
| 70 | |
| 71 | '''Migration''' |
| 72 | |
| 73 | If you migrate to quintagroup.plonegooglesitemaps >= v.1.2 - you MUST ADD '''overrides.zcml''' slug to instance/buildout configuration |
| 74 | |
| 75 | '''Upgrade''' |
| 76 | |
| 77 | If you want to upgrade to newer version: |
| 78 | * Perform all steps but last one from *Buildout* or *Traditional Zope 2 instance* sections |
| 79 | * '''Reinstall''' Plone Google Sitemaps with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
| 80 | |
| 81 | '''Catalog rebuilding''' |
| 82 | |
| 83 | * For quintagroup.plonegooglesitemaps >= v.1.2: catalog rebuilding will be made automatically, with updating *canonical_link* metadata *only*. |
| 84 | * For quintagroup.plonegooglesitemaps < v.1.2: after installation portal_catalog rebuild needed. |
| 85 | |
| 86 | By default catalog NOT rebuilded. You may rebuild catalog in 2 ways: |
| 87 | * by hand: go to /<plone instance id>/portal_catalog/manage_catalogAdvanced and push *Update* button. |
| 88 | * allow catalog rebuilding on quintagroup.plonegooglesitemap installation. For that - set *UPDATE_CATALOG* property to *True* in quintagroup.plonegooglesitemaps.config python module. |
| 89 | * Install '''Plone Google Sitemaps''' with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |