Changes between Version 2 and Version 3 of CowsFramework


Ignore:
Timestamp:
18/03/09 06:56:01 (10 years ago)
Author:
spascoe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CowsFramework

    v2 v3  
    1818 1. The [http://pypi.python.org/pypi/setuptools setuptools] package, providing the {{{easy_install}}} tool 
    1919 1. The [http://www.unidata.ucar.edu/software/netcdf/ NetCDF libraries] installed in a standard place or indicated with the {{{NETCDF_HOME}}} environment variable 
    20  1. The following packages that cannot be reliably auto-installed with {{{easy_install}}} 
     20 1. The following python packages that cannot be reliably auto-installed with {{{easy_install}}} 
    2121    - [http://pypi.python.org/pypi/numpy numpy] (this will install with {{{easy_install}}} but it needs to be installed first) 
    2222    - Python Imaging Library 
     
    2525== Installation == 
    2626 
     27Once you have the prerequisites in place ;-), you can install COWS by invoking {{{easy_install}}} giving the NDG egg repository as an argument: 
     28{{{ 
     29$ easy_install -f http://ndg.nerc.ac.uk/dist cows 
     30}}} 
     31 
     32This will download a host of dependencies including [http://proj.badc.rl.ac.uk/ndg/wiki/CdatLite cdat_lite], [http://ndg.nerc.ac.uk/csml CSML] and [http://www.pylonshq.com Pylons].  We recommend doing this inside a [http://pypi.python.org/pypi/virtualenv virtualenv]. 
     33 
    2734== Creating a server == 
     35 
     36COWS employs {{{paster}}} templates to create a skeleton application for you.  The default application assumes a CSML backend and serves WMS and WCS.  It includes a trivial demo web application for test purposes.  To create your server do: 
     37{{{ 
     38$ paster create -t cows_server MyCowsServer csmlstore=<csml-dir> 
     39}}} 
     40 
     41The server will be created in the {{{CowsServer}}} directory.  If you don't give a csmlstore argument you will be prompted for one and this can be left blank if you don't want to use CSML.  Your development configuration file is in {{{MyCowsServer/development.ini}}}.  Customise this with a suitable port then start the server with: 
     42{{{ 
     43# From within MyCowsServer 
     44$ paster serve development.ini 
     45}}} 
     46 
     47More details on how to run and configure Pylons servers are on the [http://www.pylonshq.com Pylons] website. 
    2848 
    2949== Resources == 
    3050 
    31  - The COWS API documentation is available online [http://home.badc.rl.ac.uk/spascoe/ndg3/cows_doc/frames.html here] 
     51 - The COWS API documentation is available online [http://home.badc.rl.ac.uk/spascoe/ndg3/cows_doc/frames.html here].