Instrukcja uruchomienia.

This commit is contained in:
Krzysztof Płaczek
2018-03-21 11:36:47 +01:00
parent f17bd2af08
commit 37e8224369
2 changed files with 8 additions and 1 deletions

View File

@@ -1,2 +1,8 @@
# docker_flask
## Run
`set FLASK_APP=index.py
set FLASK_DEBUG=1
set
flask run -p 5001`

View File

@@ -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)