From 4ce44340d41f138b80db3bd1027e3ef76b604c01 Mon Sep 17 00:00:00 2001 From: Radovan Bast Date: Thu, 24 May 2018 14:57:11 +0200 Subject: [PATCH] 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 --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6277690e..f2906aae 100644 --- a/README.rst +++ b/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)