Changes between Version 40 and Version 41 of Software/MSI/ConfigurationNeptune


Ignore:
Timestamp:
24/06/09 13:56:23 (10 years ago)
Author:
domlowe
Comment:

Revised config for COWS under zc buildout

Legend:

Unmodified
Added
Removed
Modified
  • Software/MSI/ConfigurationNeptune

    v40 v41  
    200200 
    201201=== COWS === 
    202 Dom has installed COWS in a dedicated Python installation under `/usr/local/cowsenv`.  This may be revised at a later date to use `virtualenv` or `zc.buildout` based install.  See [wiki:Software/MSI/ConfigurationNeptune/ApacheConfiguration Apache Configuration] page for details of COWS WSGI script.  
    203  
    204 Configuration settings are in `/usr/local/cowsenv/services/OGCTestbed` 
    205  
    206 Added: 
    207  
    208  * gcc-fortran compiler (yast) 
    209  * numpy-1.2.1 
    210  * matplotlib-0.98.5.2.tar.gz 
    211  * csml 2.5.1 
    212  * cows 0.2.3 
    213  * Paste 1.7.1  
    214  * Genshi 0.5.1 
    215  * PIL 1.1.6 
    216  
    217 '''Pylons/CSML/MATPLOTLIB etc:''' 
    218  * numpy 1.2.1 
    219  * matplotlib 0.98.5 
    220  
    221 Specific config for ... 
    222  * WMS / WCS 
    223   * WMS server 
    224   * WCS server 
    225   * WMS client with WCS download button 
     202There is a virtualenv based python under /usr/local/cows_virtualenv 
     203This python has numpy and matplotlib installed. This python is then used to run buildout scripts for both the COWS WXS Services, and the COWS Client code. 
     204 
     205==== COWS Services ==== 
     206A buildout script is in /usr/local/cowsserver_buildout/ 
     207 
     208{{{ 
     209[buildout] 
     210parts = cows_server_app 
     211 
     212[cows_components] 
     213recipe = zc.recipe.egg 
     214interpreter = py 
     215 
     216find-links = http://ndg.nerc.ac.uk/dist 
     217 
     218eggs= 
     219    Pylons==0.9.6.1 
     220    csml 
     221    shapely==1.0.12 
     222    ndg-security-server 
     223    cows 
     224 
     225[cows_server_app] 
     226recipe = collective.recipe.modwsgi 
     227find-links = 
     228        /usr/local/cows_virtualenv/cows_server_app/dist 
     229        http://ndg.nerc.ac.uk/dist 
     230        http://dist.repoze.org/ 
     231 
     232eggs= 
     233  Pylons==0.9.6.1 
     234  csml 
     235  shapely==1.0.12 
     236  ndg-security-server 
     237  cows 
     238  PIL 
     239  OGCTestBed 
     240  SQLAlchemy 
     241config-file = /usr/local/cows_virtualenv/cows_server_app/development.ini 
     242 
     243 
     244}}} 
     245 
     246There is a bootstrap script in the cowsserver_buildout directory, to run it use 
     247{{{ 
     248 /usr/local/cows_virtualenv/bin python bootstrap.py 
     249}}} 
     250 
     251 
     252Note that the pylons ini file is in: 
     253{{{ 
     254/usr/local/cows_virtualenv/cows_server_app/development.ini 
     255}}} 
     256 
     257/usr/local/cows_virtualenv/cows_server_app/ contains a lightweight Pylons app that sets up the controllers for COWS. This app was created using COWS project-templates. 
     258 
     259 
     260TODO: The bootstrap script needs modifying so it adds logging capabilities to the final WSGI document (as per Phil's makefile). 
     261 
     262==== COWS WMS/WCS Client ==== 
     263 
     264There is a buildout config for the 'cowsclient' app here: 
     265/usr/local/cowsclient_buildout 
     266 
     267{{{ 
     268 
     269[buildout] 
     270 
     271parts = cows_client_app 
     272 
     273[cows_client_app] 
     274recipe = collective.recipe.modwsgi 
     275find-links = 
     276        http://ndg.nerc.ac.uk/dist 
     277eggs= 
     278  ndg-security-server 
     279  cowsclient 
     280config-file = ${buildout:directory}/appconfig/cowsclient.ini 
     281 
     282}}} 
     283 
     284Again this should be run using the virtualenv python and bootscript.py 
     285{{{ 
     286/usr/local/cows_virtualenv/bin/python bootstrap.py 
     287}}} 
     288 
    226289 
    227290=== pyDAP ===