Init a hello world example

master
Luke Murphy 3 years ago
parent e7745f42c6
commit 4f3aeb89df
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
  1. 12
      app.py
  2. 7
      requirements.txt

@ -0,0 +1,12 @@
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "<h1>Hello, World!</h1>"
if __name__ == "__main__":
app.run(threaded=True, port=5000)

@ -0,0 +1,7 @@
click==7.1.1
Flask==1.1.2
gunicorn==20.0.4
itsdangerous==1.1.0
Jinja2==2.11.2
MarkupSafe==1.1.1
Werkzeug==1.0.1
Loading…
Cancel
Save