Hi everybody,

I'm trying qooxdoo desktop which seems to be exactly what I'm searching for.
I would like to use a lightweight Python server and my choose falls on
Flask.

I Started a new qooxdoo application with create-application.py utility and
then
i wrote a little Flask server, but it doesn't work, this is the source:

from flask import Flask, render_template, request
app = Flask(__name__, static_folder='source' ,template_folder='source')

@app.route('/')
def index():
    return render_template('index.html')
if __name__ == '__main__':
    app.debug = True
    app.run()

I put the file in the root of app but it read the index.html file and give
me a 404 on 
/script/tweet.js file.

Some one can help me? I'm new on Flask too.

Thanks and best regards
Claudio




--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/python-flask-server-qooxdoo-desktop-client-beginner-tp7585593.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