Flask-App angelegt
This commit is contained in:
parent
c2ccada6c0
commit
f537b60c1d
2 changed files with 15 additions and 11 deletions
16
.gitignore
vendored
16
.gitignore
vendored
|
|
@ -1,11 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Notenrechner</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Notenrechner</h1>
|
||||
<script src="js/notenrechener.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
*.save
|
||||
*.swp
|
||||
*~
|
||||
.DS_Store
|
||||
venv/
|
||||
10
app.py
Normal file
10
app.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from flask import Flask
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
@app.route("/")
|
||||
def hello():
|
||||
return "Hallo aus meiner Flask-App!"
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=9009)
|
||||
Loading…
Reference in a new issue