Mercurial > getan
diff README @ 0:7eb7886ed8fd
Initial import.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 28 Jul 2008 22:33:36 +0200 |
parents | |
children | a3fe8e4e9184 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README Mon Jul 28 22:33:36 2008 +0200 @@ -0,0 +1,30 @@ +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 + +3 - starting getan: + + $ ./getan + + or + + $ ./getan mytime.db +