- Clone this repo
- Copy src/Config-Template.hs to src/Config.hs
- Adjust settings in Config.hs to your needs.
- Copy over baseDirSkel to your baseDir.
- Modify invoice-template.tex in your baseDir appropriately.
- Install the tools with
nix-env -f ./default.nix -i
Now you have the following tools installed in your environment:
ti
... For clocking in. Runti Project-name
to
... For clocking out. runto "What have you done"
timecamp
... For reporting your clocked in time to timecamp. Runtimecamp
.invoice
... Creates an invoice in your billed directory, displays it and also reports to timecamp.
hledger, xelatex and for viewing your invoices evince should be in path.
Config.hs contains your timecamp auth token, so make sure you never check it in. It is listed in .gitignore for this reason.