clarify where to call flask run from in tutorial

This commit is contained in:
David Lord 2019-01-06 15:10:38 -08:00
parent 7474a9cb8b
commit d6151340bc
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
2 changed files with 4 additions and 2 deletions

View file

@ -127,7 +127,8 @@ Run The Application
Now you can run your application using the ``flask`` command. From the
terminal, tell Flask where to find your application, then run it in
development mode.
development mode. Remember, you should still be in the top-level
``flask-tutorial`` directory, not the ``flaskr`` package.
Development mode shows an interactive debugger whenever a page raises an
exception, and restarts the server whenever you make changes to the

View file

@ -108,6 +108,7 @@ You can observe that the project is now installed with ``pip list``.
Nothing changes from how you've been running your project so far.
``FLASK_APP`` is still set to ``flaskr`` and ``flask run`` still runs
the application.
the application, but you can call it from anywhere, not just the
``flask-tutorial`` directory.
Continue to :doc:`tests`.