$ virtualenv pycsw && cd pycsw && . bin/activate
$ git clone git@github.com:geopython/pycsw.git && cd pycsw
$ pip install -e . && pip install -r requirements.txt
$ cp default-sample.cfg default.cfg
$ vi default.cfg
# adjust paths in
# - server.home
# - repository.database
# set server.url to http://localhost:8000/
$ python csw.wsgi
$ curl http://localhost:8000/?service=CSW&version=2.0.2&request=GetCapabilities
Note
The following steps were performed on a Windows Vista machine.
Install Python:
Install Package Management Tools
Install Virtual Environment
Install pycsw Dependencies
Install pycsw
server.home (e.g. home=C:/Python26/Scripts/pycsw-workshop/pycsw-1.4.1)
server.url to url=http://localhost:8000/
repository.database (e.g. database=sqlite:///C:\\Python26\\Scripts\\pycsw-workshop\\pycsw-1.4.1\\data\\cite\\records.db)
Start CSW server