From 43ba613b9e1ea9dbf6f94361d43418c91c8c0785 Mon Sep 17 00:00:00 2001 From: jwansek Date: Fri, 28 Apr 2023 12:03:19 +0100 Subject: Finished insinuations, started on HTML and CSS --- app.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 app.py (limited to 'app.py') 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 -- cgit v1.2.3