start up with python run.py
and you can access
I"ll try to run the simplest HelloWorld 404.Do you know anything about it?
gunicorn -b :5000 run:app
HelloWorld is like this
app/
__init__.py
views.py
run.py
_ _ init__.py
from flask import Flask
app = Flask(__name__)
from app import views
views.py
from app import app
@app.route("/")
def index()
return "hello world"
run.py
from app import app
if __name__ == "__main__":
app.run(host="0.0.0.0")