started implementation of website

This commit is contained in:
paul-loedige 2023-01-13 09:16:09 +00:00
parent 548055e675
commit 2807be6159
3 changed files with 3 additions and 2 deletions

View File

@ -1,10 +1,10 @@
from flask import Flask from flask import Flask, render_template
app = Flask(__name__) app = Flask(__name__)
@app.route('/') @app.route('/')
def index(): def index():
return 'Hello world' return render_template(index.html)
if __name__ == '__main__': if __name__ == '__main__':
app.run(debug=True, port=5000, host='0.0.0.0') app.run(debug=True, port=5000, host='0.0.0.0')

View File

Before

Width:  |  Height:  |  Size: 548 KiB

After

Width:  |  Height:  |  Size: 548 KiB

View File

@ -0,0 +1 @@
<img src="{{ url_for('static', filename='dinosaur_face.png') }}" alt="Dinosaur Face" style="width:100%">