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`