summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'flask_app.py')
-rw-r--r--flask_app.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/flask_app.py b/flask_app.py
new file mode 100644
index 0000000..1bfd837
--- /dev/null
+++ b/flask_app.py
@@ -0,0 +1,14 @@
+"""
+The web application built on Flask is contained within this file.
+When run as a script, the Flask development server is started.
+"""
+
+from flask import Flask
+app = Flask(__name__)
+
+@app.route('/')
+def index():
+ pass
+
+if __name__ == '__main__':
+ app.run(host='::1', debug=True)