Skip to content

Commit 14518ae

Browse files
simple python app
1 parent 7a2982a commit 14518ae

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

simple-python-app/app.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from flask import Flask
2+
3+
app = Flask(__name__)
4+
5+
@app.route('/')
6+
def hello_world():
7+
return 'Hello, World!'
8+
9+
if __name__ == '__main__':
10+
app.run(debug=True, host='0.0.0.0', port=8000)

simple-python-app/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Flask==2.1.0
2+
Werkzeug==2.2.2

0 commit comments

Comments
 (0)