Flask App angelegt

This commit is contained in:
Mara Zöllner 2026-06-17 13:13:06 +02:00
parent fae80428f4
commit a73317a287
2 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View file

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

12
app.py Normal file
View file

@ -0,0 +1,12 @@
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=9007)