view README @ 1:a3fe8e4e9184

- To exit getan you now can use double BACKSPACE, too. - Fixed typo, added hint to Sascha Wilde's projects converter. - Added Sascha Wilde's converter to import existing worklog configuration files.
author Sascha L. Teichmann <teichmann@intevation.de>
date Tue, 29 Jul 2008 16:38:40 +0200
parents 7eb7886ed8fd
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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)