Commit ad458da9e39548c0fbe2b50ee02f5d7a99045f9d
1 parent
29abf0f5
Exists in
master
atualizando o procedimento de instalação.
Showing
1 changed file
with
6 additions
and
33 deletions
Show diff stats
docs/INSTALL.txt
@@ -7,47 +7,20 @@ pf.servicos.policy Installation | @@ -7,47 +7,20 @@ pf.servicos.policy Installation | ||
7 | 7 | ||
8 | Intruções Geradas Automaticamente | 8 | Intruções Geradas Automaticamente |
9 | ================================= | 9 | ================================= |
10 | - * When you're reading this you have probably already run | ||
11 | - ``easy_install pf.servicos.policy``. Find out how to install setuptools | ||
12 | - (and EasyInstall) here: | ||
13 | - http://peak.telecommunity.com/DevCenter/EasyInstall | 10 | +pf.biblioteca Installation |
11 | +-------------------------- | ||
14 | 12 | ||
15 | - * Get `pythonproducts`_ and install it via:: | ||
16 | - | ||
17 | - python setup.py install --home /path/to/instance | ||
18 | - | ||
19 | - into your Zope instance. | ||
20 | - | ||
21 | - * Create a file called ``pf.servicos.policy-configure.zcml`` in the | ||
22 | - ``/path/to/instance/etc/package-includes`` directory. The file | ||
23 | - should only contain this:: | ||
24 | - | ||
25 | - <include package="pf.servicos.policy" /> | ||
26 | - | ||
27 | -.. _pythonproducts: http://plone.org/products/pythonproducts | ||
28 | - | ||
29 | -Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance | 13 | +To install pf.biblioteca using zc.buildout and the plone.recipe.zope2instance |
30 | recipe to manage your project, you can do this: | 14 | recipe to manage your project, you can do this: |
31 | 15 | ||
32 | - * Add ``pf.servicos.policy`` to the list of eggs to install, e.g.: | 16 | +* Add ``pf.biblioteca`` to the list of eggs to install, e.g.: |
33 | 17 | ||
34 | [buildout] | 18 | [buildout] |
35 | ... | 19 | ... |
36 | eggs = | 20 | eggs = |
37 | ... | 21 | ... |
38 | - pf.servicos.policy | ||
39 | - | ||
40 | - * Tell the plone.recipe.zope2instance recipe to install a ZCML slug: | 22 | + pf.biblioteca |
41 | 23 | ||
42 | - [instance] | ||
43 | - recipe = plone.recipe.zope2instance | ||
44 | - ... | ||
45 | - zcml = | ||
46 | - pf.servicos.policy | ||
47 | - | ||
48 | - * Re-run buildout, e.g. with: | 24 | +* Re-run buildout, e.g. with: |
49 | 25 | ||
50 | $ ./bin/buildout | 26 | $ ./bin/buildout |
51 | - | ||
52 | -You can skip the ZCML slug if you are going to explicitly include the package | ||
53 | -from another package's configure.zcml file. |