diff --git a/README.md b/README.md index 3863662..af03832 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ # docker_flask + +## Run + `set FLASK_APP=index.py + set FLASK_DEBUG=1 + set + flask run -p 5001` \ No newline at end of file diff --git a/index.py b/index.py index 01b7ced..9731a96 100644 --- a/index.py +++ b/index.py @@ -380,5 +380,6 @@ def slugify(text): app.secret_key = b'\xd7:o\\\xaayFe\x1ey\x08m9\xe4\xbc!\xee\x0e>\xd1Z\x99-\xbb' +#http://flask.pocoo.org/snippets/133/ @TODO if __name__ == "__main__": - app.run(host="0.0.0.0", port=5002, debug=True, threaded=True) + app.run(host="0.0.0.0", port=5001, debug=True, threaded=True)