Developer Tasks

tomkralidis edited this page Dec 25, 2012 · 4 revisions

pycsw uses Paver to automate various tasks for developers. Let's get right to it and set things up first:

$ virtualenv venv && cd $_
$ . ./bin/activate
$ git clone git@github.com:geopython/pycsw.git && cd $_
$ pip install -e .
$ pip install -r requirements.txt
$ paver --help
# list of commands

The file pavement.py contains all defined tasks. Examples:

Build sphinx docs from scratch:

$ paver refresh_docs

Publish dev docs to production:

$ paver refresh_docs -u OSGEO_USERNAME

Generate tests/index.html for online testing:

$ paver gen_tests_html

Start local WSGI server instance:

$ paver start

Stop local WSGI server instance:

$ paver stop

Run unit tests:

$ paver test

Run only specific unit testsuites:

$ paver test -s apiso,fgdc

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.