]> rtime.felk.cvut.cz Git - coffee/main.git/commitdiff
Add FLASK_DEBUG to readme
authorMichal Sojka <michal.sojka@cvut.cz>
Wed, 15 Aug 2018 07:43:42 +0000 (09:43 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Wed, 15 Aug 2018 07:43:42 +0000 (09:43 +0200)
It causes automatic reload of flask app when the file is changed.

README.md

index e682efa6686614f0248ed9691d69fc2cd3334770..ead39abc69437ee5f59e6053077ab55d9b3466d5 100644 (file)
--- 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