Bootstrap something to start
This commit is contained in:
14
magic_app/app.py
Normal file
14
magic_app/app.py
Normal file
@ -0,0 +1,14 @@
|
||||
"""The Magic App."""
|
||||
|
||||
from flask import Flask, render_template
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def home():
|
||||
return render_template("index.html")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0")
|
11
magic_app/templates/index.html
Normal file
11
magic_app/templates/index.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>The Magic App</title>
|
||||
</head>
|
||||
<body>
|
||||
Hello, World.
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user