| | 51 | === Installing quintagroup.plonegooglesitemaps package starting from 1.0 version === |
| | 52 | |
| | 53 | '''Buildout''' |
| | 54 | |
| | 55 | To install quintagroup.plonegooglesitemaps to your buildout-based project: |
| | 56 | |
| | 57 | * Add '''quintagroup.plonegooglesitemaps''' to the list of eggs to install: |
| | 58 | {{{ |
| | 59 | [buildout] |
| | 60 | ... |
| | 61 | eggs = |
| | 62 | ... |
| | 63 | quintagroup.plonegooglesitemaps |
| | 64 | }}} |
| | 65 | |
| | 66 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug: |
| | 67 | {{{ |
| | 68 | [instance] |
| | 69 | recipe = plone.recipe.zope2instance |
| | 70 | ... |
| | 71 | zcml = |
| | 72 | quintagroup.plonegooglesitemaps |
| | 73 | }}} |
| | 74 | |
| | 75 | * Re-run buildout, e.g. with: |
| | 76 | |
| | 77 | {{{ |
| | 78 | $ ./bin/buildout |
| | 79 | }}} |
| | 80 | |
| | 81 | * Restart the Zope server, e.g with the following command in the terminal:: |
| | 82 | |
| | 83 | {{{ |
| | 84 | $ ./bin/instance restart |
| | 85 | }}} |
| | 86 | |
| | 87 | * Install ``Plone Google Sitemaps`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
| | 88 | |
| | 89 | |
| | 90 | '''Traditional Zope 2 instance''' |
| | 91 | |
| | 92 | To install quintagroup.plonegooglesitemaps into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this: |
| | 93 | |
| | 94 | * Copy '''quintagroup''' folder to your instance's '''/lib/python''' directory. |
| | 95 | |
| | 96 | * Create a file called '''quintagroup.plonegooglesitemaps-configure.zcml''' in your instance's '''/etc/package-includes''' directory. The file should only contain this: |
| | 97 | |
| | 98 | {{{ |
| | 99 | <include package="quintagroup.plonegooglesitemaps" /> |
| | 100 | }}} |
| | 101 | |
| | 102 | * Restart the Zope server, for example with the following command in the terminal: |
| | 103 | |
| | 104 | {{{ |
| | 105 | $ ./bin/zopectl restart |
| | 106 | }}} |
| | 107 | |
| | 108 | * Install '''Plone Google Sitemaps''' with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
| | 109 | |