Flask App angelegt
This commit is contained in:
parent
fae80428f4
commit
a73317a287
2 changed files with 13 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
||||||
*.swp
|
*.swp
|
||||||
*~
|
*~
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
venv/
|
||||||
|
|
|
||||||
12
app.py
Normal file
12
app.py
Normal 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)
|
||||||
Loading…
Reference in a new issue