<div dir="ltr">Hi Jan,<div><br></div><div>first of all, I suggest, you go on with the 65_maxoperations branch, where basis for the administration interface is set and described in my mail <a href="https://lists.osgeo.org/pipermail/pywps-dev/2016-April/000624.html">https://lists.osgeo.org/pipermail/pywps-dev/2016-April/000624.html</a> </div><div><br></div><div>I've added sample wsgi script (wsgi directory) to the branch, which works with my Apache configuration. If I understand it correctly, flask is not good, when you need to run several threads in one incetance - it can not handle it (therefore there are some attempts with starting flask on different ports - bad solution IMHO)</div><div><br></div><div>The demo is there, so you can run your local instance of PyWPS with flask server.</div><div><br></div><div>rest.html was removed by @Calin (cced) <a href="https://github.com/PyWPS/pywps-4-demo/commits/master/templates">https://github.com/PyWPS/pywps-4-demo/commits/master/templates</a> - maybe he could tell us, why that?</div><div><br></div><div>In 65_maxoperations, processes are controlled with metadata stored in sqlite database - they are running using multiprocessing package - it chould be clear from pywps/app/Process.py</div><div><br></div><div>I would like you to do application, which is part of PyWPS distribution, wich uses REST interface for process control (maybe you can re-use some of Calin's work) and ideally provides WEB UI  too</div><div><br></div><div>ehm, I hope, I clarified at least some of your questions - if not, please keep pinging me</div><div><br></div><div>J</div><div><br></div><div class="gmail_quote"><div dir="ltr">po 2. 5. 2016 v 22:34 odesílatel Jan Rudolf <<a href="mailto:rudolja1@fit.cvut.cz">rudolja1@fit.cvut.cz</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
I ran PyWPS and the demo application on my computer, read almost all<br>
documentation text, and want to discuss:<br>
<br>
1. In the demo application - there should be available /wpsadmin page<br>
and others /wpspadmin/* (declared in demo.py), there is an error, I<br>
added rest_app.debug = True after the Flask initialization (line 94 in<br>
demo.py) and there is rest.html template missing. Can you add it,<br>
please?<br>
<br>
2. I first thought (before I was looking into code), that the<br>
user/administrator just need to install PyWPS (and other libraries) and<br>
set up Apache (or any other server) to some entry point and he is done.<br>
Is the user/administrator need to make some script like demo.py with the<br>
declaration of all URLs and so on? Or is it also going to be the purpose<br>
of my work, because I will be creating web administration for it, is it<br>
suppose to be built-in into PyWPS library?<br>
<br>
3. I ran search about controlling processes through Python - found a way<br>
through the combination of  multiprocessing and psutil, but they are<br>
already there, but also in demo.py. Should be integrated into PyWPS?<br>
<br>
Thank you, Jan Rudolf<br>
_______________________________________________<br>
pywps-dev mailing list<br>
<a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pywps-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/pywps-dev</a></blockquote></div></div>