Skip to content
Myr

Update the example in README

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Grey Li · committed by Grey Li · parent 2fab8a3 · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:README.rst+4 added-4 removed
18 unmodified lines
19Install and update using `pip`_:2021.. code-block:: text2223 pip install -U Flask23 $ pip install -U Flask242526A Simple Example27----------------2829.. code-block:: python3031 # save this as app.py32 from flask import Flask3334 app = Flask(__name__)35
2 unmodified lines
38 return "Hello, World!"3940.. code-block:: text4141 $ env FLASK_APP=hello.py flask run42 * Serving Flask app "hello"43 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)42 $ flask run43 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)444546Contributing47------------
33 unmodified lines