From c1f2d2f2304af4f4c7a0f2cdcd3c7c7c4f2c925b Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Wed, 15 Aug 2018 09:43:42 +0200 Subject: [PATCH] Add FLASK_DEBUG to readme It causes automatic reload of flask app when the file is changed. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e682efa..ead39ab 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Then compile and run all the software components: 1. Compile _mtaio_ simulator: `make -C terminal/src/mt-apps SIM=1` 2. Run mtaio: `cd terminal/src/mt-apps && ./build/mtaio` -3. Run the server application: `cd coffee-flask && FLASK_APP=app.py flask run` +3. Run the server application: `cd coffee-flask && FLASK_APP=app.py FLASK_DEBUG=1 flask run` 4. Point your web browser to http://localhost:8080/ 5. Pressing keys in _mtaio_ window simulates various activities. Numbers are cards of different users, letters A through F are -- 2.39.2