[Pywps-dev] how to get it running
Alex Morega
alex at grep.ro
Wed Oct 2 23:25:05 PDT 2013
On 2 Oct 2013, at 23:53, Jachym Cepicky <jachym.cepicky at gmail.com> wrote:
> Hi (all, and) Alex,
>
> I get pywps-4 up and all tests are passing,
>
> I've installed werkzeug
>
> But do not know, how to get the think running?
>
> There might be several ways: using it behind apache server, starting
> custom python server etc.
>
> Could you please provide me (us) with some details?
Hi Jachym,
The Service object (https://github.com/jachym/pywps-4/blob/describe-inputs/demo.py#L68) is a WSGI application, and it can be deployed in a number of ways. Werkzeug documentation has a nice section about deployment:
http://werkzeug.pocoo.org/docs/deployment/
Flask also has good deployment docs, and they are more up-to-date, especially regarding standalone WSGI containers (that can be exposed directly, or set up behind a reverse proxy). These docs talk about a "flask app", but it's just a WSGI app, so they apply to pywps as well.
http://flask.pocoo.org/docs/deploying/
Which deployment method do you prefer?
-- Alex
More information about the pywps-dev
mailing list