summaryrefslogtreecommitdiffstats
path: root/demos/min/context/app.py
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-08-30 00:48:34 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-30 00:48:34 +0000
commitb85021ee81d10a2c6a74b538b4ea79ee4e07bad8 (patch)
tree2df29378ae899f0e487db6993488d18417cc3bd6 /demos/min/context/app.py
parent2b8d0322749011eab249db42ab855a4db0f06274 (diff)
parent443b149246aba1fbd63b57d83c00a049b5b7f50d (diff)
Merge "Create demos for each guideline."
Diffstat (limited to 'demos/min/context/app.py')
-rw-r--r--demos/min/context/app.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/demos/min/context/app.py b/demos/min/context/app.py
new file mode 100644
index 0000000..6165f1b
--- /dev/null
+++ b/demos/min/context/app.py
@@ -0,0 +1,10 @@
+from flask import Flask
+
+app = Flask(__name__)
+
+@app.route("/")
+def hello():
+ return "If a man never contradicts himself, the reason must be that he virtually never says anything at all... Erwin Schrodinger"
+
+if __name__ == "__main__":
+ app.run(debug=True,host='0.0.0.0')