Jesús wrote
> Hello,
> 
> Were you able to fix the failures that we inquired.?. If we say the
> solutions you've implemented, we would be very helpful. At least to me.
> 
> Greetings.

I solved an half,

<code>
from flask import Flask, jsonify, render_template, request
app = Flask(__name__, static_folder='build' ,template_folder='build',
static_url_path='')

@app.route('/')
def index():
    return render_template('index.html')                                       

if __name__ == '__main__':
    app.debug = True
    app.run()
</code>

this works after:

generate.py build

but I can't debug javascript so is not a practical solution. Now I'm trying
with
Cherrypy, now I'm in the very beginning so each python server is ok if it is
lightweight.

If I solve I will post the solution.

Best regards
Claudio

 







--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/python-flask-server-qooxdoo-desktop-client-beginner-tp7585593p7585614.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to