1 | quintagroup.seoptimizer Installation |
---|
2 | ========================== |
---|
3 | |
---|
4 | To install quintagroup.seoptimizer into the global Python environment (or a workingenv), |
---|
5 | using a traditional Zope 2 instance, you can do this: |
---|
6 | |
---|
7 | * When you're reading this you have probably already run |
---|
8 | ``easy_install quintagroup.seoptimizer``. Find out how to install setuptools |
---|
9 | (and EasyInstall) here: |
---|
10 | http://peak.telecommunity.com/DevCenter/EasyInstall |
---|
11 | |
---|
12 | * Create a file called ``quintagroup.seoptimizer-configure.zcml`` in the |
---|
13 | ``/path/to/instance/etc/package-includes`` directory. The file |
---|
14 | should only contain this:: |
---|
15 | |
---|
16 | <include package="quintagroup.seoptimizer" file="configure.zcml" /> |
---|
17 | |
---|
18 | and create a file called ``quintagroup.seoptimizer-overrides.zcml`` in the |
---|
19 | ``/path/to/instance/etc/package-includes`` directory. The file |
---|
20 | should only contain this:: |
---|
21 | |
---|
22 | <include package="quintagroup.seoptimizer" file="overrides.zcml" /> |
---|
23 | |
---|
24 | Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance |
---|
25 | recipe to manage your project, you can do this: |
---|
26 | |
---|
27 | * Add ``quintagroup.seoptimizer`` to the list of eggs to install, e.g.: |
---|
28 | |
---|
29 | [buildout] |
---|
30 | parts = |
---|
31 | ... |
---|
32 | src-eggs |
---|
33 | .... |
---|
34 | eggs = |
---|
35 | ... |
---|
36 | quintagroup.seoptimizer |
---|
37 | |
---|
38 | [src-eggs] |
---|
39 | recipe=infrae.subversion |
---|
40 | urls = |
---|
41 | http://svn.quintagroup.com/products/quintagroup.seoptimizer/trunk quintagroup.seoptimizer |
---|
42 | |
---|
43 | as_eggs = true |
---|
44 | location = src |
---|
45 | |
---|
46 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug: |
---|
47 | |
---|
48 | [instance] |
---|
49 | recipe = plone.recipe.zope2instance |
---|
50 | ... |
---|
51 | zcml = |
---|
52 | quintagroup.seoptimizer |
---|
53 | quintagroup.seoptimizer-overrides |
---|
54 | |
---|
55 | * Re-run buildout, e.g. with: |
---|
56 | |
---|
57 | $ ./bin/buildout |
---|
58 | |
---|
59 | You can skip the ZCML slug if you are going to explicitly include the package |
---|
60 | from another package's configure.zcml file. |
---|