Merge pull request #2799 from bast/radovan/env

set FLASK_APP via env for portability across shells
This commit is contained in:
David Lord 2018-05-24 06:39:13 -07:00 committed by GitHub
commit d22491a3fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ A Simple Example
.. code-block:: text
$ FLASK_APP=hello.py flask run
$ env FLASK_APP=hello.py flask run
* Serving Flask app "hello"
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)