Changes between Version 16 and Version 17 of ndg_security


Ignore:
Timestamp:
25/01/11 12:55:10 (8 years ago)
Author:
pjkersha
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ndg_security

    v16 v17  
    4848==== Apache2 and `mod_wsgi` configuration ==== 
    4949See wiki:ndg_security/Apache2. 
     50 
     51==== `zc.buildout` ==== 
     52 1. Install buildout 
     53{{{ 
     54$ easy_install zc.buildout 
     55}}} 
     56 1. Make a directory for holding the buildout configuration: 
     57{{{ 
     58$ mkdir /usr/local/ndg-security 
     59}}} 
     60 1. Initialise buildout environment 
     61{{{ 
     62$ cd /usr/local/ndg-security 
     63$ buildout init 
     64$ buildout bootstrap 
     65}}} 
     66 1. Edit the buildout configuration file `buildout.cfg` and make a part to install a local Python interpreter with the required eggs: 
     67{{{ 
     68[buildout] 
     69parts = interpreter 
     70 
     71[interpreter] 
     72recipe = zc.recipe.egg 
     73interpreter = py 
     74find-links = http://ndg.nerc.ac.uk/dist 
     75unzip = true 
     76eggs =  ndg_security_server==2.2.0 
     77        ndg_security_common==2.2.0 
     78        ndg_security_test==2.2.0 
     79        ndg_saml 
     80        ndg_xacml 
     81        SQLAlchemy 
     82        psycopg2 
     83        Genshi 
     84}}} 
     85    Nb. This assumes connection to a Postgres database (`psycopg2` package).  Alter to suit your needs.  The database package is needed for the Attribute Service and OpenID Provider only. 
     86 1. Run buildout to install the eggs: 
     87{{{ 
     88$ ./bin/buildout 
     89}}}