comparison 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
comparison
equal deleted inserted replaced
260:e206ab753a26 261:cf905ed23de0
1 0 - install pysqlite2 1 1 - install urwid
2 2
3 On Debian GNU/Linux just do: 3 NOTE: getan requires urwid >= 1.0
4 4
5 # apt-get install python-pysqlite2 5 On Debian GNU/Linux >= Wheezy just do:
6
6 # apt-get install python-urwid 7 # apt-get install python-urwid
7 8
8 NOTE: getan requires urwid >= 0.9.9.1. 9 2 - starting getan:
9
10 1 - create new time.db
11
12 To create an empty database you need the 'sqlite3'
13 commandline tool. TODO: This will change.
14
15 # apt-get install sqlite3
16
17 $ echo '.read schema.sql' | sqlite3 time.db
18
19 2 - adding new projects to time.db:
20
21 $ sqlite3 time.db
22 sqlite> INSERT INTO projects (key, description) VALUES ('f', 'FOO');
23 sqlite> INSERT INTO projects (key, description) VALUES ('b', 'BAR');
24 sqlite> .q
25
26 To import an old worklog configuration you may use:
27
28 ./contrib/convert-projects </PATH/TO/projects | sqlite3 time.db
29
30 If you want to keep the reverse task order of the original config
31 file you might pipe it through tac first.
32
33 3 - starting getan:
34 10
35 $ ./getan.py 11 $ ./getan.py
36 12
37 or 13 or
38 14
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)