Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 30330fc

Browse filesBrowse files
committed
Add note about how to run the example using the flask CLI
1 parent b54535d commit 30330fc
Copy full SHA for 30330fc

File tree

Expand file treeCollapse file tree

1 file changed

+19
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-1
lines changed

‎examples/user_interfaces/web_application_server_sgskip.py

Copy file name to clipboardExpand all lines: examples/user_interfaces/web_application_server_sgskip.py
+19-1Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,25 @@ def hello():
4444
# instantiate an Agg canvas;
4545
# see e.g. :doc:`/gallery/user_interfaces/canvasagg`.
4646
#
47-
# .. _howto-click-maps:
47+
# Note: This script should be run using the
48+
# `flask command-line tool <https://flask.palletsprojects.com/en/master/cli/>`_
49+
# since it is a Flask application.
50+
# Assuming that the working directory contains this script:
51+
#
52+
# Unix-like systems
53+
#
54+
# .. code-block:: console
55+
#
56+
# FLASK_APP=web_application_server_sgskip flask run
57+
#
58+
# Windows
59+
#
60+
# .. code-block:: console
61+
#
62+
# set FLASK_APP=web_application_server_sgskip
63+
# flask run
64+
#
65+
# .. _howto-click-maps:
4866
#
4967
# Clickable images for HTML
5068
# -------------------------

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.