Flask-App angelegt

This commit is contained in:
annika koenig 2026-06-17 15:14:12 +02:00
parent de59d7289f
commit f60df5ccfc
2 changed files with 11 additions and 1 deletions

2
.gitignore vendored
View file

@ -2,4 +2,4 @@
*.swp
*~
.DS_Store
venv/

10
app.py Normal file
View 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=9006) # 90 + Raumnummer