owl-invoice
Install
npm install owl-invoice -g
- install wkhtmltopdf and add it to PATH
Configuration
- create
.owlinvoicerc
in the user`s home directory
{
"PORT" : 8801,
"DIR": "path where should be database stored",
}
Usage
owlinvoice
Git database
If the database directory specified in DIR
contains a initialized git repository, then owl-invoice will automatically pull and push each change to a current branch. It is necessary to have remote upstream branch for current local branch already specified. In other words, git pull
and git push
commands must end with success without specifying remote or branch. Only files in db
subdirectory are pushed to remote repository. Also keep in mind, that owl-invoice will not try to do any merging by itself.
development
setup
- setup
.env
file according to.env.example
npm i && cd client && npm i && cd ..
- setup
proxy
inclient\src\setupProxy.js
(TODO: make it configurable)
start
npm start