Changes between Version 2 and Version 3 of qSEOptimizer/install
- Timestamp:
- Jan 13, 2010 3:25:28 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
qSEOptimizer/install
v2 v3 1 1 = SEOptimizer Installation = 2 3 == Traditional Instance (not buildout) 2 4 3 5 To install quintagroup.seoptimizer into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this: 4 6 5 * 7 * Copy '''quintagroup''' folder to your instance '''/lib/python''' directory. 8 * Create a file called '''quintagroup.seoptimizer-configure.zcml''' in your instance '''/etc/package-includes''' directory. The file should only contain this: 6 9 7 Copy quintagroup folder to the /path/to/instance/lib/python directory. 8 * 10 {{{ 11 <include package="quintagroup.seoptimizer" file="configure.zcml" /> 12 }}} 9 13 10 Create a file called quintagroup.seoptimizer-configure.zcml in the /path/to/instance/etc/package-includesdirectory. The file should only contain this:14 * Create a file called '''quintagroup.seoptimizer-overrides.zcml''' in your instance '''/etc/package-includes''' directory. The file should only contain this: 11 15 12 <include package="quintagroup.seoptimizer" file="configure.zcml" /> 16 {{{ 17 <include package="quintagroup.seoptimizer" file="overrides.zcml" /> 18 }}} 13 19 14 *20 * Restart the Zope server, for example with the following command in the terminal: 15 21 16 Create a file called quintagroup.seoptimizer-overrides.zcml in the /path/to/instance/etc/package-includes directory. The file should only contain this: 22 {{{ 23 $ ./bin/zopectl restart 24 }}} 17 25 18 <include package="quintagroup.seoptimizer" file="overrides.zcml" />26 * Install quintagroup.seoptimizer via ZMI '''portal_setup'''. Select '''quintagroup.seoptimizer''' from the list of available profiles and press '''Import all steps'''. 19 27 20 *21 28 22 Restart the Zope server, for example with the following command in the terminal: 29 == Buildout-based instance == 23 30 24 $ ./bin/zopectl restart 31 If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this: 25 32 26 Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:33 * Add quintagroup.seoptimizer to the list of eggs to install, e.g.: 27 34 28 * 35 {{{ 29 36 30 Add quintagroup.seoptimizer to the list of eggs to install, e.g.: 37 [buildout] 38 .... 39 eggs = 40 ... 41 quintagroup.seoptimizer 42 }}} 31 43 32 [buildout] 33 .... 34 eggs = 35 ... 36 quintagroup.seoptimizer 44 * Tell the plone.recipe.zope2instance recipe to install a ZCML slug: 37 45 38 * 46 {{{ 39 47 40 Tell the plone.recipe.zope2instance recipe to install a ZCML slug: 48 [instance] 49 ... 50 zcml = 51 quintagroup.seoptimizer 52 quintagroup.seoptimizer-overrides 53 }}} 41 54 42 [instance] 43 ... 44 zcml = 45 quintagroup.seoptimizer 46 quintagroup.seoptimizer-overrides 55 * Re-run buildout, e.g. with: 47 56 48 * 57 {{{ 58 $ ./bin/buildout 59 }}} 49 60 50 Re-run buildout, e.g. with:61 * Restart the Zope server, e.g with the following command in the terminal: 51 62 52 $ ./bin/buildout 63 {{{ 64 $ ./bin/instance restart 65 }}} 53 66 54 *67 * Install quintagroup.seoptimizer via ZMI '''portal_setup'''. Select '''quintagroup.seoptimizer''' from the list of available profiles and press '''Import all steps'''. 55 68 56 Restart the Zope server, e.g with the following command in the terminal: 69 == Uninstallation == 57 70 58 $ ./bin/instance restart 59 60 Install quintagroup.seoptimizer via ZMI portal_setup. Select quintagroup.seoptimizer from the list of available profiles and press Import all steps. 61 Uninstallation 62 63 To uninstall quintagroup.seoptimizer - select quintagroup.seoptimizer uninstall profile from the list of available profiles and press Import all steps. 71 To uninstall quintagroup.seoptimizer - select '''quintagroup.seoptimizer uninstall''' profile from the list of available profiles and press '''Import all steps.'''