Mercurial > getan
diff README @ 261:cf905ed23de0
Update README
It is still a draft ...
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 11 Apr 2013 12:06:35 +0200 |
parents | b6e91535acb7 |
children | 1c9c3c9454e3 |
line wrap: on
line diff
--- a/README Thu Apr 11 12:06:09 2013 +0200 +++ b/README Thu Apr 11 12:06:35 2013 +0200 @@ -1,36 +1,12 @@ -0 - install pysqlite2 +1 - install urwid - On Debian GNU/Linux just do: + NOTE: getan requires urwid >= 1.0 - # apt-get install python-pysqlite2 + On Debian GNU/Linux >= Wheezy just do: + # apt-get install python-urwid - NOTE: getan requires urwid >= 0.9.9.1. - -1 - create new time.db - - To create an empty database you need the 'sqlite3' - commandline tool. TODO: This will change. - - # apt-get install sqlite3 - - $ echo '.read schema.sql' | sqlite3 time.db - -2 - adding new projects to time.db: - - $ sqlite3 time.db - sqlite> INSERT INTO projects (key, description) VALUES ('f', 'FOO'); - sqlite> INSERT INTO projects (key, description) VALUES ('b', 'BAR'); - sqlite> .q - - To import an old worklog configuration you may use: - - ./contrib/convert-projects </PATH/TO/projects | sqlite3 time.db - - If you want to keep the reverse task order of the original config - file you might pipe it through tac first. - -3 - starting getan: +2 - starting getan: $ ./getan.py