Changeset 2053 in products for quintagroup.pfg.captcha/trunk/docs


Ignore:
Timestamp:
Apr 1, 2010 1:14:08 PM (10 years ago)
Author:
olha
Message:

INSTALL and README files updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.pfg.captcha/trunk/docs/INSTALL.txt

    r1969 r2053  
    1 quintagroup.pfg.captcha Installation 
    2 ======================= 
     1Installation 
     2============ 
    33 
    4  * When you're reading this you have probably already run 
    5    ``easy_install quintagroup.pfg.captcha``. Find out how to install setuptools 
    6    (and EasyInstall) here: 
    7    http://peak.telecommunity.com/DevCenter/EasyInstall 
     4Buildout 
     5-------- 
    86 
    9  * Create a file called ``quintagroup.pfg.captcha-configure.zcml`` in the 
    10    ``/path/to/instance/etc/package-includes`` directory.  The file 
    11    should only contain this:: 
     7To install quintagroup.pfg.captcha to your buildout-based project: 
    128 
    13        <include package="quintagroup.pfg.captcha" /> 
    14  
    15 Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance 
    16 recipe to manage your project, you can do this: 
    17  
    18  * Add ``quintagroup.pfg.captcha`` to the list of eggs to install, e.g.: 
     9* Add ``quintagroup.pfg.captcha`` to the list of eggs to install:: 
    1910 
    2011    [buildout] 
     
    2314        ... 
    2415        quintagroup.pfg.captcha 
    25  
    26   * Tell the plone.recipe.zope2instance recipe to install a ZCML slug: 
     16        
     17* Tell the plone.recipe.zope2instance recipe to install a ZCML slug:: 
    2718 
    2819    [instance] 
     
    3122    zcml = 
    3223        quintagroup.pfg.captcha 
    33  
    34   * Re-run buildout, e.g. with: 
     24       
     25* Re-run buildout, e.g. with:: 
    3526 
    3627    $ ./bin/buildout 
     28     
     29* Restart the Zope server, e.g with the following command in the terminal:: 
    3730 
    38 You can skip the ZCML slug if you are going to explicitly include the package 
    39 from another package's configure.zcml file. 
     31   $ ./bin/instance restart 
     32    
     33* Install ``quintagroup.pfg.captcha`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products)  
     34         
     35         
     36Traditional Zope 2 instance 
     37--------------------------- 
     38 
     39To install quintagroup.pfg.captcha into the global Python environment (or a workingenv), 
     40using a traditional Zope 2 instance, you can do this: 
     41 
     42* Copy ``quintagroup`` folder to your instance's ``/lib/python`` directory. 
     43 
     44* Create a file called ``quintagroup.pfg.captcha-configure.zcml`` in your instance's ``/etc/package-includes`` directory. The file 
     45should only contain this:: 
     46 
     47    <include package="quintagroup.pfg.captcha" /> 
     48 
     49* Restart the Zope server, for example with the following command in the terminal:: 
     50 
     51   $ ./bin/zopectl restart 
     52 
     53* Install ``quintagroup.pfg.captcha`` with Quickinstaller in Plone (Site Setup -> Add/Remove Products)  
     54 
Note: See TracChangeset for help on using the changeset viewer.