commit 3786b5b5d3a2ac5a58faa1b4fe323bd551307f58 Author: white <122345776@umail.ucc.ie> Date: Wed Jan 15 12:29:29 2025 +0000 first commit 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 0000000..a99bee7 Binary files /dev/null and b/__pycache__/app.cpython-310.pyc differ 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 %}