Mercurial > getan
comparison README @ 0:7eb7886ed8fd
Initial import.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Mon, 28 Jul 2008 22:33:36 +0200 |
parents | |
children | a3fe8e4e9184 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7eb7886ed8fd |
---|---|
1 0 - install pysqlite2 | |
2 | |
3 On Debian GNU/Linux just do: | |
4 | |
5 # apt-get install python-pysqlite2 | |
6 | |
7 1 - create new time.db | |
8 | |
9 To create an empty database you need the 'sqlite3' | |
10 commandline tool. TODO: This will change. | |
11 | |
12 # apt-get install sqlite3 | |
13 | |
14 $ echo '.r schema.sql' | sqlite3 time.db: | |
15 | |
16 2 - adding new projects to time.db: | |
17 | |
18 $ sqlite3 time.db | |
19 sqlite> INSERT INTO projects (key, description) VALUES ('f', 'FOO'); | |
20 sqlite> INSERT INTO projects (key, description) VALUES ('b', 'BAR'); | |
21 sqlite> .q | |
22 | |
23 3 - starting getan: | |
24 | |
25 $ ./getan | |
26 | |
27 or | |
28 | |
29 $ ./getan mytime.db | |
30 |