[PyWPS-dev] pywps in production on windows
Carsten Ehbrecht
ehbrecht at dkrz.de
Fri Jul 3 00:32:50 PDT 2020
Hi Idan,
PyWPS is not meant to run in production on Windows. It may still work … but I’m not sure.
Using a docker container might already be a good alternative.
There is a Flask demo with PyWPS … but outdated:
https://github.com/geopython/pywps-flask
Usually I use a cookiecutter template to setup a new PyWPS service which includes docker container support:
https://github.com/bird-house/cookiecutter-birdhouse
For a full deployment on Linux with nginx/gunicron I use an Ansible playbook:
https://github.com/bird-house/ansible-wps-playbook
Currently in our projects people are mostly using the PyWPS generated by the cookiecutter … using Werkzeug/WSGI included in PyWPS either on the Linux host or in a container (for production).
Cheers,
Carsten
--
Carsten Ehbrecht
Abteilung Datenmanagement
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstraße 45 a • D-20146 Hamburg • Germany
Phone: +49 40 460094-148
FAX: +49 40 460094-270
Email: ehbrecht at dkrz.de
URL: www.dkrz.de
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
> On 1. Jul 2020, at 21:10, Idan Miara <idan at miara.com> wrote:
>
> Hi all,
>
> I have a working pywps service that is deployed successfully with a Linux docker using gunicorn.
> I need some pointers for running it in a production environment on Windows.
>
> As gunicorn is Linux only I need to find an alternative.
> I can run it on Windows with the birdhouse-workshop demo script:
> https://github.com/bird-house/birdhouse-workshop/blob/master/demo/demo.py
> But the demo says: "Do not use this service in a production environment." so I'm looking for a better solution.
> I have found also this rather complicated guide:
> https://stackoverflow.com/questions/5072166/how-do-i-deploy-a-flask-application-in-iis
>
> Any suggestions?
>
> Kind regards,
> Idan
> _______________________________________________
> pywps-dev mailing list
> pywps-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pywps-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5214 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20200703/062d8d92/attachment.bin>
More information about the pywps-dev
mailing list