Mercurial > getan
view README @ 2:49aa271aa3d0
Added +/- time to tasks.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Wed, 30 Jul 2008 01:02:32 +0200 |
parents | a3fe8e4e9184 |
children | 1513c716eef0 |
line wrap: on
line source
0 - install pysqlite2 On Debian GNU/Linux just do: # apt-get install python-pysqlite2 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 '.r 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 3 - starting getan: $ ./getan or $ ./getan mytime.db