From 54ae1cb0e902aac1bce44e2a315650d395c710b5 Mon Sep 17 00:00:00 2001 From: Grey Li Date: Wed, 6 Jan 2021 22:31:23 +0800 Subject: [PATCH] Update the example in README --- README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 22e82c47..69e53457 100644 --- a/README.rst +++ b/README.rst @@ -20,7 +20,7 @@ Install and update using `pip`_: .. code-block:: text - pip install -U Flask + $ pip install -U Flask A Simple Example @@ -28,6 +28,7 @@ A Simple Example .. code-block:: python + # save this as app.py from flask import Flask app = Flask(__name__) @@ -38,9 +39,8 @@ A Simple Example .. code-block:: text - $ env FLASK_APP=hello.py flask run - * Serving Flask app "hello" - * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) + $ flask run + * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit) Contributing