From 6ddb8696baea848fd45bde418d9d1aa9aca6bc60 Mon Sep 17 00:00:00 2001 From: Luka Hietala Date: Tue, 18 Nov 2025 18:38:53 +0200 Subject: [PATCH] setup flask --- app.py | 10 ++++++++++ templates/index.html | 1 + 2 files changed, 11 insertions(+) create mode 100644 templates/index.html diff --git a/app.py b/app.py index e69de29..bc988c9 100644 --- a/app.py +++ b/app.py @@ -0,0 +1,10 @@ +from flask import Flask, render_template + +app = Flask(__name__) + +@app.route("/") +def hello_world(): + return render_template("index.html") + +if __name__ == "__main__": + app.run(debug=True) \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..f8f4583 --- /dev/null +++ b/templates/index.html @@ -0,0 +1 @@ + \ No newline at end of file -- 2.47.3