Flask-App angelegt
This commit is contained in:
parent
de59d7289f
commit
f60df5ccfc
2 changed files with 11 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -2,4 +2,4 @@
|
|||
*.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=9006) # 90 + Raumnummer
|
||||
Loading…
Reference in a new issue