From 949ac073247234e582875e33c6352950fc80a4b4 Mon Sep 17 00:00:00 2001 From: stets Date: Wed, 2 Oct 2019 12:08:17 -0400 Subject: [PATCH] flask: add page (#3290) --- pages/common/flask.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/flask.md diff --git a/pages/common/flask.md b/pages/common/flask.md new file mode 100644 index 000000000..e6e60f24a --- /dev/null +++ b/pages/common/flask.md @@ -0,0 +1,16 @@ +# flask + +> A general utility script for Flask applications. Loads the application defined in the `FLASK_APP` environment variable. +> More information: . + +- Run a development server: + +`flask run` + +- Show the routes for the app: + +`flask routes` + +- Run a Python interactive shell in the app's context: + +`flask shell`