Browse Source

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
pull/2799/head
Radovan Bast 7 years ago
parent
commit
4ce44340d4
  1. 2
      README.rst

2
README.rst

@ -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…
Cancel
Save