[Pywps-dev] pywps on lighthttpd
Martin Landa
landa.martin at gmail.com
Wed May 10 11:39:18 PDT 2017
2017-05-10 20:37 GMT+02:00 Martin Landa <landa.martin at gmail.com>:
> for those who are interested. I managed to create working version with
> flup server:
ops, broken formatting. File attached, Martin
--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
-------------- next part --------------
#!/usr/bin/env python
from flup.server.fcgi import WSGIServer
from pywps.app.Service import Service
from processes.costpath import CostPath
processes = [
CostPath()
]
# Service accepts two parameters:
# 1 - list of process instances
# 2 - list of configuration files
application = Service(
processes,
['/path/to/pywps.cfg']
)
WSGIServer(application).run()
More information about the pywps-dev
mailing list