| | 3 | === Installing qPloneGoogleSitemaps product up to 0.8.5 version === |
| | 4 | |
| | 5 | qPloneGoogleSitemaps can be installed as old-type Plone product. |
| | 6 | |
| | 7 | 1. Download product package archive from http://plone.org/products/qplonegooglesitemaps/ (e.g. 'qPloneGoogleSitemaps-0.8.5.tar.gz') |
| | 8 | 2. Unpack it to get '''qPloneGoogleSitemaps''' folder. |
| | 9 | |
| | 10 | * For buildout-based instance |
| | 11 | * Put '''qPloneGoogleSitemaps''' folder into the '''products''' folder of your instance (this is a place for old-style Zope products to be added) |
| | 12 | * Re-run buildout |
| | 13 | * Restart Zope server |
| | 14 | |
| | 15 | * For traditional instance |
| | 16 | * Put '''qPloneGoogleSitemaps''' folder into the '''Products''' folder of your instance |
| | 17 | * Restart Zope server |
| | 18 | |
| | 19 | 3. Click on the link of the '''Site Setup''' in the top right corner of your Plone site |
| | 20 | 1. choose '''Add/Remove Products''' item in the Plone Configuration list |
| | 21 | 1. select the product '''qPloneGoogleSitemaps''' among products available for installation |
| | 22 | 1. press the '''install''' button below the table and make sure the product appeared in the right column of installed products |
| | 23 | |
| | 24 | === Installing quintagroup.plonegooglesitemaps package starting from 1.0 version === |
| | 25 | |
| | 26 | '''Buildout''' |
| | 27 | |
| | 28 | To install quintagroup.plonegooglesitemaps to your buildout-based project: |
| | 29 | |
| | 30 | * Add '''quintagroup.plonegooglesitemaps''' to the list of eggs to install: |
| | 31 | {{{ |
| | 32 | [buildout] |
| | 33 | ... |
| | 34 | eggs = |
| | 35 | ... |
| | 36 | quintagroup.plonegooglesitemaps |
| | 37 | }}} |
| | 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 | |
| | 48 | * Re-run buildout, e.g. with: |
| | 49 | |
| | 50 | {{{ |
| | 51 | $ ./bin/buildout |
| | 52 | }}} |
| | 53 | |
| | 54 | * Restart the Zope server, e.g with the following command in the terminal:: |
| | 55 | |
| | 56 | {{{ |
| | 57 | $ ./bin/instance restart |
| | 58 | }}} |
| | 59 | |
| | 60 | * Install ``Plone Google Sitemaps`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |
| | 61 | |
| | 62 | |
| | 63 | '''Traditional Zope 2 instance''' |
| | 64 | |
| | 65 | To install quintagroup.plonegooglesitemaps into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this: |
| | 66 | |
| | 67 | * Copy '''quintagroup''' folder to your instance's '''/lib/python''' directory. |
| | 68 | |
| | 69 | * Create a file called '''quintagroup.plonegooglesitemaps-configure.zcml''' in your instance's '''/etc/package-includes''' directory. The file should only contain this: |
| | 70 | |
| | 71 | {{{ |
| | 72 | <include package="quintagroup.plonegooglesitemaps" /> |
| | 73 | }}} |
| | 74 | |
| | 75 | * Restart the Zope server, for example with the following command in the terminal: |
| | 76 | |
| | 77 | {{{ |
| | 78 | $ ./bin/zopectl restart |
| | 79 | }}} |
| | 80 | |
| | 81 | * Install '''Plone Google Sitemaps''' with Quickinstaller in Plone (Site Setup -> Add/Remove Products) |