From 6475ac93fc9eaa4cef77f0a3db970dfb33c18305 Mon Sep 17 00:00:00 2001 From: Joanne Jang Date: Wed, 29 Jun 2016 17:55:46 -0700 Subject: [PATCH 1/2] FLASK_APP should be set to flaskr.py, not flaskr --- examples/flaskr/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/flaskr/README b/examples/flaskr/README index bdf9198334..466edab608 100644 --- a/examples/flaskr/README +++ b/examples/flaskr/README @@ -15,7 +15,7 @@ 2. Instruct flask to use the right application - export FLASK_APP=flaskr + export FLASK_APP=flaskr.py 3. initialize the database with this command: From 8a515cbb8ff558b989676b3125579820918807a8 Mon Sep 17 00:00:00 2001 From: Joanne Jang Date: Wed, 29 Jun 2016 18:26:06 -0700 Subject: [PATCH 2/2] FLASK_APP should be set to minitwit.py, not minitwit (same issue as flaskr) --- examples/minitwit/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/minitwit/README b/examples/minitwit/README index a2a7f39555..d125c0582b 100644 --- a/examples/minitwit/README +++ b/examples/minitwit/README @@ -16,7 +16,7 @@ 2. tell flask about the right application: - export FLASK_APP=minitwit + export FLASK_APP=minitwit.py 2. fire up a shell and run this: