Flask-App angelegt

This commit is contained in:
lena_smd02 2026-07-01 16:20:43 +02:00
parent 352aa2def6
commit b318ea5597
2 changed files with 11 additions and 4 deletions

5
.gitignore vendored
View file

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

10
app/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=9011) # 90 + Raumnummer