Added troubleshooting infos. This fixes #44

This commit is contained in:
Armin Ronacher 2010-05-24 15:08:35 +02:00
parent 664c64e0aa
commit cc8332e9d9
5 changed files with 80 additions and 5 deletions

View file

@ -9,6 +9,14 @@ This is also the way you can use a Flask application on Google's
`AppEngine`_, there however the execution does happen in a CGI-like
environment. The application's performance is unaffected because of that.
.. admonition:: Watch Out
Please make sure in advance that your ``app.run()`` call you might
have in your application file, is inside an ``if __name__ ==
'__main__':`` or moved to a separate file. Just make sure it's not
called because this will always start a local WSGI server which we do
not want if we deploy that application to CGI / appengine.
.. _AppEngine: http://code.google.com/appengine/
Creating a `.cgi` file