wiki:PasteStack

Version 3 (modified by lawrence, 12 years ago) (diff)

just documenting how I got started with the pylons framework

Paste Stack

I think the middleware cascade should be something like

  • lint (check's wsgi compliance)
    • log (set up logging)
      • selector/routes
        • config file load
          • page-setup and cookie grab
            • gatekeep (authorisation)
              • browse
              • WMS
              • WCS
              • WPS
              • WFS
              • CSML-API
            • discovery (NDG)
            • discovery (CSW) (!)
            • login

Of course not all bits will be present in any particular implementation .... so configuration is key.

Reality

So, getting started with this, I

  • did an easy_install of csml from svn:
    easy_install $SVN/TI02-CSML/trunk
    
  • and then I went into the delivery code to set up the ows framework egg
    cd TI05-delivery/ows_framework/trunk/ows_common
    python setup.py develop
    
  • and now I try to run pylons:
    cd ../ows_server
    paster serve --reload development.ini