Skip to content
Myr

Merge pull request #2799 from bast/radovan/env

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

set FLASK_APP via env for portability across shells

authored by David Lord · committed by GitHub · parents 54869a0, 4ce4434 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:README.rst+1 added-1 removed
36 unmodified lines
37 return 'Hello, World!'3839.. code-block:: text4041 $ FLASK_APP=hello.py flask run41 $ 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)4445
31 unmodified lines