started implementation of website
This commit is contained in:
parent
548055e675
commit
2807be6159
@ -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')
|
||||||
|
Before Width: | Height: | Size: 548 KiB After Width: | Height: | Size: 548 KiB |
1
website/template/index.html
Normal file
1
website/template/index.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
<img src="{{ url_for('static', filename='dinosaur_face.png') }}" alt="Dinosaur Face" style="width:100%">
|
Loading…
x
Reference in New Issue
Block a user