]> rtime.felk.cvut.cz Git - coffee/main.git/blobdiff - README.md
Extend README
[coffee/main.git] / README.md
index ead39abc69437ee5f59e6053077ab55d9b3466d5..569a926de0ade1ad1799b0cb1ce7b64a5cc386a7 100644 (file)
--- a/README.md
+++ b/README.md
@@ -5,12 +5,17 @@ terminal. Fetch it with:
 
        git submodule update --init
 
-The `coffee-flask`  directory contains the server application, which
-runs on [rtime](https://rtime.felk.cvut.cz/coffee) server.
-
-`terminal` directory is the code running on the terminal. It is a
-standard buildroot distribution. The most importat piece of code here
-is the `mtaio` application from `terminal/src/mt-apps`.
+The [`coffee-flask`](coffee-flask.git) directory contains the server
+application, which runs on [rtime](https://rtime.felk.cvut.cz/coffee)
+server.
+
+`terminal` directory contains the code running on the terminal. It is
+based on a standard [buildroot](https://buildroot.org/) distribution.
+The most important piece of code here is the `mtaio` application from
+[`terminal/src/mt-apps`](mt-apps.git), which contains the web server
+powering the GUI of the terminal – a web browser. Among other things,
+it informs the browser about physical events captured by the terminal
+from the card reader and coffee machine buttons.
 
 A more detailed documentation is available in [Jiří Matěják's Master
 thesis](https://dspace.cvut.cz/handle/10467/76276).
@@ -29,7 +34,7 @@ with this command:
 To improve the terminal, you can run all the relevant code on your
 Linux computer.
 
-First install all prerequisities:
+First install all prerequisites:
 
     apt install python3-flask libev-dev cmake
        pip3 install flask_cors
@@ -43,3 +48,16 @@ Then compile and run all the software components:
 5. Pressing keys in _mtaio_ window simulates various activities.
    Numbers are cards of different users, letters A through F are
    different coffee machine buttons.
+
+### Submitting patches
+
+Send patches by email (preferably with [git send-email][]) to
+`coffee@rtime.felk.cvut.cz` [mailing list][]. You can subscribe the
+[mailing list][] to discuss the patches sent by others.
+
+It is recommended to run the [`setup_git`][sg] script in your local
+repository to configure git optimally for patch submission.
+
+[git send-email]: https://rtime.felk.cvut.cz/wiki/index.php/Configuring_git_send-email
+[mailing list]: https://rtime.felk.cvut.cz/mailman/listinfo/coffee
+[sg]: main.git/blob/HEAD:/setup_git