Heavily improved documentation

This commit is contained in:
Armin Ronacher 2010-04-11 02:20:10 +02:00
parent 4e1b3e1134
commit 05f36c7f7e
10 changed files with 486 additions and 44 deletions

View file

@ -23,9 +23,14 @@ A minimal Flask application looks something like that::
if __name__ == '__main__':
app.run()
If you now start that application with your Python interpreter and head
over to `http://localhost:5000/ <http://localhost:5000/>`_, you should see
your hello world application.
Just save it as `hello.py` or something similar and run it with your
Python interpreter::
$ python hello.py
* Running on http://localhost:5000/
Head over to `http://localhost:5000/ <http://localhost:5000/>`_, you should
see your hello world greeting.
So what did that code do?