forked from orbit-oss/flask
Merge pull request #2799 from bast/radovan/env
set FLASK_APP via env for portability across shells
This commit is contained in:
commit
d22491a3fb
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ A Simple Example
|
||||||
|
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
$ FLASK_APP=hello.py flask run
|
$ env FLASK_APP=hello.py flask run
|
||||||
* Serving Flask app "hello"
|
* Serving Flask app "hello"
|
||||||
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
|
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue