]> rtime.felk.cvut.cz Git - hubacji1/coffee-getter.git/blobdiff - README.md
Merge branch 'hotfix/0.2.1'
[hubacji1/coffee-getter.git] / README.md
index 6db46b65b7b6bea8d245f29e243e45f03e46c662..0dd542104d1fcff55fd5dd0caeffc89d68748c2c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -2,6 +2,13 @@
 Somehow friendly API to get and share coffee related data from database.
 
 # Development
+## Database and Getter
+`cbdb` module is used as interface to database. When getting data from
+database, add methods here.
+
+Data got from database are processed in `cbgetter` module. Feel free to add
+formatting methods here. Also communication to slack is handled in this module.
+
 ## Runnables
 Scripts to be run by systemd timers should by as simple as possible, runnable,
 python3 script file.
@@ -18,8 +25,8 @@ The example `top5_mate_stats.service`:
 Description=Run top 5 Mate drinkers stats
 
 [Service]
-Environment=PYTHONPATH=/path/to/coffee-getter/repo/
-ExecStart=/path/to/coffee-getter/repo/run/top5_mate_stats.py
+Environment=PYTHONPATH=/path/to/coffee-getter
+ExecStart=/path/to/coffee-getter/run/top5_mate_stats.py
 ```
 
 The example `top5_mate_stats.timer`: