aboutsummaryrefslogtreecommitdiffstats
path: root/app.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2023-04-28 12:03:19 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2023-04-28 12:03:19 +0100
commit43ba613b9e1ea9dbf6f94361d43418c91c8c0785 (patch)
tree4c327162e72e49ff549bfb77e77f047f99e005b9 /app.py
parenta90ca1f2b50d343d0d2d0d3bda2ecf7712726419 (diff)
downloadUKGenderPayGap-43ba613b9e1ea9dbf6f94361d43418c91c8c0785.tar.gz
UKGenderPayGap-43ba613b9e1ea9dbf6f94361d43418c91c8c0785.zip
Finished insinuations, started on HTML and CSS
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