<div dir="ltr">jan, start with the rest api first<div><br></div><div>I would suggest, we meet in prague and make some wire frames and we send it to mailing list for wider community review - would that be ok?</div><div><br></div><div>are you free wednesday 18th May afternoon ?</div><div><br></div><div><br></div><div>J</div></div><br><div class="gmail_quote"><div dir="ltr">st 4. 5. 2016 v 23:55 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">Thanks for answers Jachym, they help a lot with understanding. Thanks<br>
for suggesting the 65_maxoperations branch. I've already set up git with<br>
this branch and I am going to look closer at it in near future.<br>
<br>
><br>
> I would like you to do application, which is part of PyWPS<br>
> distribution, wich uses REST interface for process control (maybe you<br>
> can re-use some of Calin's work) and ideally provides WEB UI  too<br>
><br>
<br>
If will everybody agree, I would like to start with basics of Web UI.<br>
The reasons are that, with the start of the coding period, semester ends<br>
and I've got finals, main time period about 2-3 weeks and it's very<br>
important to me to succeed. So with this pressure, I would like to start<br>
with something easier to me. Thank you for understanding.<br>
<br>
Could you specify, what do you want to be part of UI? How do you imagine<br>
the layout and all functions (or first for now)?<br>
<br>
Thank you, Jan<br>
<br>
<br>
Dne 2016-05-04 12:30, Jachym Cepicky napsal:<br>
> Hi Jan,<br>
><br>
> first of all, I suggest, you go on with the 65_maxoperations branch,<br>
> where basis for the administration interface is set and described in<br>
> my mail<br>
> <a href="https://lists.osgeo.org/pipermail/pywps-dev/2016-April/000624.html" rel="noreferrer" target="_blank">https://lists.osgeo.org/pipermail/pywps-dev/2016-April/000624.html</a><br>
><br>
> I've added sample wsgi script (wsgi directory) to the branch, which<br>
> works with my Apache configuration. If I understand it correctly,<br>
> flask is not good, when you need to run several threads in one<br>
> incetance - it can not handle it (therefore there are some attempts<br>
> with starting flask on different ports - bad solution IMHO)<br>
><br>
> The demo is there, so you can run your local instance of PyWPS with<br>
> flask server.<br>
><br>
> rest.html was removed by @Calin (cced)<br>
> <a href="https://github.com/PyWPS/pywps-4-demo/commits/master/templates" rel="noreferrer" target="_blank">https://github.com/PyWPS/pywps-4-demo/commits/master/templates</a> - maybe<br>
> he could tell us, why that?<br>
><br>
> In 65_maxoperations, processes are controlled with metadata stored in<br>
> sqlite database - they are running using multiprocessing package - it<br>
> chould be clear from pywps/app/Process.py<br>
><br>
> I would like you to do application, which is part of PyWPS<br>
> distribution, wich uses REST interface for process control (maybe you<br>
> can re-use some of Calin's work) and ideally provides WEB UI  too<br>
><br>
> ehm, I hope, I clarified at least some of your questions - if not,<br>
> please keep pinging me<br>
><br>
> J<br>
><br>
> po 2. 5. 2016 v 22:34 odesílatel Jan Rudolf <<a href="mailto:rudolja1@fit.cvut.cz" target="_blank">rudolja1@fit.cvut.cz</a>><br>
> napsal:<br>
><br>
>> 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<br>
>> 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<br>
>> 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)<br>
>> and<br>
>> set up Apache (or any other server) to some entry point and he is<br>
>> done.<br>
>> Is the user/administrator need to make some script like demo.py with<br>
>> the<br>
>> declaration of all URLs and so on? Or is it also going to be the<br>
>> purpose<br>
>> of my work, because I will be creating web administration for it, is<br>
>> it<br>
>> suppose to be built-in into PyWPS library?<br>
>><br>
>> 3. I ran search about controlling processes through Python - found a<br>
>> 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><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>