From 3786b5b5d3a2ac5a58faa1b4fe323bd551307f58 Mon Sep 17 00:00:00 2001 From: white <122345776@umail.ucc.ie> Date: Wed, 15 Jan 2025 12:29:29 +0000 Subject: [PATCH] first commit --- .flaskenv | 2 ++ __pycache__/app.cpython-310.pyc | Bin 0 -> 465 bytes app.py | 11 +++++++++++ templates/base.html | 12 ++++++++++++ templates/index.html | 20 ++++++++++++++++++++ 5 files changed, 45 insertions(+) create mode 100644 .flaskenv create mode 100644 __pycache__/app.cpython-310.pyc create mode 100644 app.py create mode 100644 templates/base.html create mode 100644 templates/index.html diff --git a/.flaskenv b/.flaskenv new file mode 100644 index 0000000..71845d2 --- /dev/null +++ b/.flaskenv @@ -0,0 +1,2 @@ +FLASK_APP=app.py +FLASK_DEBUG=True \ No newline at end of file diff --git a/__pycache__/app.cpython-310.pyc b/__pycache__/app.cpython-310.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a99bee7f504255ff3807256c3512d4db990eec93 GIT binary patch literal 465 zcmYk1K}*9h7>1L!*|NdZgFj&4sh4^1CL+Q_#KRD)2TP&U=G)e-X-kqa^*X_mzrc%v z7ynYOp1gY8MUyJH556~f!i`Jdty~ zDWG5=Vgt916qM#hBMIxYoF3K6C zDoUzqP~BK|rq7HSsn0i~-`~Cric5lJ} literal 0 HcmV?d00001 diff --git a/app.py b/app.py new file mode 100644 index 0000000..cb3b2d2 --- /dev/null +++ b/app.py @@ -0,0 +1,11 @@ +from flask import Flask, render_template, Response + +app = Flask(__name__) + +@app.route('/') +def index(): + # Main page for the live stream + return render_template('index.html') + +if __name__ == '__main__': + app.run(debug=True) \ No newline at end of file diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..5ddd280 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,12 @@ + + + + + + Live Stream + + + {% block main_content %} + {% endblock %} + + \ No newline at end of file diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..51e5d33 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} + +{% block main_content %} +

Live Stream

+ + +{% endblock %}