forked from orbit-oss/flask
set FLASK_APP via env for portability across shells
this does not work on fish (https://fishshell.com): $ FLASK_APP=hello.py flask run while this works (hopefully) on any shell: $ env FLASK_APP=hello.py flask run
This commit is contained in:
parent
54869a0017
commit
4ce44340d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue