diff --git a/README.md b/README.md index 9bbb41fcac9fa70547d7221c5d994c879c2b5455..a1d4e0314c4d0a0595b9c664172d274636fe177f 100644 --- a/README.md +++ b/README.md @@ -1 +1,29 @@ # Time Tracking Analysis + +Analyze time tracking data. + +## Dependencies + +- JDK 8 +- SQLite 3 +- [Ammonite](http://www.lihaoyi.com/Ammonite/#Ammonite-REPL) + +## Usage + +1. Create a database for your **debit** work hours: + + ``` + sqlite3 timetracking.db 'create table debit (day text primary key, hours real)' + ``` + +2. Fill the database with your **debit** work hours: + + ``` + sqlite3 timetracking.db 'insert into debit (day, hours) values ("2017-03-28", 8)' + ``` + +3. Start analysis: + + ``` + amm ttanalysis.sc timetracking.db export_all.csv + ```