johannesgerer / buchhaltung

Smart tools for the ledger universe
http://johannesgerer.com/buchhaltung
MIT License
97 stars 8 forks source link

Better documentation for "buchhaltung update" #11

Closed varac closed 6 years ago

varac commented 7 years ago

I'm trying buchhaltung for the first time. Setting it up, I failed after buchhaltung update because the ledgers.imported file is not present, and I have no idea how to add it properly:

The hledger journal file "/home/varac/hledger/buchhaltung-import.ledger" was not found.
Please create it first, eg with "hledger add" or a text editor.
Or, specify an existing journal file with -f or LEDGER_FILE.

Is this file mandatory ? When I don't want to import already existing .csv files but start fresh with buchhaltung ?

varac commented 7 years ago

A simple touch /home/varac/hledger/buchhaltung-import.ledger was sufficcient. I propose that this should be done automatically when the file is not present.

johannesgerer commented 7 years ago

Yes, Touch is enough, I should add it to the docs.

Not doing it automatically is a safety feature. It prevents you from importing into the wrong file without realizing it.

On 5 July 2017 09:58:01 BST, varac notifications@github.com wrote:

A simple touch /home/varac/hledger/buchhaltung-import.ledger was sufficcient. I propose that this should be done automatically when the file is not present.

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/johannesgerer/buchhaltung/issues/11#issuecomment-313044404