aboutsummaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'app.py')
-rw-r--r--app.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/app.py b/app.py
new file mode 100644
index 0000000..ecb4426
--- /dev/null
+++ b/app.py
@@ -0,0 +1,14 @@
+import database
+import flask
+
+app = flask.Flask(__name__)
+
+@app.route("/")
+def serve_index():
+ return flask.render_template(
+ "index.html.j2",
+ title = "UK Gender Pay Gap"
+ )
+
+if __name__ == "__main__":
+ app.run("0.0.0.0", port = 5005, debug = True) \ No newline at end of file