Last change
on this file was
2161,
checked in by olha, 14 years ago
|
files to doc directory added.
|
File size:
1.2 KB
|
Rev | Line | |
---|
[2161] | 1 | Installation |
---|
| 2 | ============ |
---|
| 3 | |
---|
| 4 | Buildout |
---|
| 5 | -------- |
---|
| 6 | |
---|
| 7 | To install quintagroup.canonicalpath to your buildout-based project: |
---|
| 8 | |
---|
| 9 | * Add ``quintagroup.canonicalpath`` to the list of eggs to install:: |
---|
| 10 | |
---|
| 11 | [buildout] |
---|
| 12 | ... |
---|
| 13 | eggs = |
---|
| 14 | ... |
---|
| 15 | quintagroup.canonicalpath |
---|
| 16 | |
---|
| 17 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: |
---|
| 18 | |
---|
| 19 | [instance] |
---|
| 20 | recipe = plone.recipe.zope2instance |
---|
| 21 | ... |
---|
| 22 | zcml = |
---|
| 23 | quintagroup.canonicalpath |
---|
| 24 | |
---|
| 25 | * Re-run buildout, e.g. with:: |
---|
| 26 | |
---|
| 27 | $ ./bin/buildout |
---|
| 28 | |
---|
| 29 | * Restart the Zope server, e.g with the following command in the terminal:: |
---|
| 30 | |
---|
| 31 | $ ./bin/instance restart |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | Traditional Zope 2 instance |
---|
| 35 | --------------------------- |
---|
| 36 | |
---|
| 37 | To install quintagroup.canonicalpath into the global Python environment (or a workingenv), |
---|
| 38 | using a traditional Zope 2 instance, you can do this: |
---|
| 39 | |
---|
| 40 | * Copy ``quintagroup`` folder to your instance's ``/lib/python`` directory. |
---|
| 41 | |
---|
| 42 | * Create a file called ``quintagroup.canonicalpath-configure.zcml`` in your instance's ``/etc/package-includes`` directory. The file |
---|
| 43 | should only contain this:: |
---|
| 44 | |
---|
| 45 | <include package="quintagroup.canonicalpath" /> |
---|
| 46 | |
---|
| 47 | * Restart the Zope server, for example with the following command in the terminal:: |
---|
| 48 | |
---|
| 49 | $ ./bin/zopectl restart |
---|
| 50 | |
---|
| 51 | |
---|
Note: See
TracBrowser
for help on using the repository browser.