Web front-end to access the Ledger command-line interface (ledger-cli.org).
Ledger is a powerful, double-entry accounting system that is accessed from the UNIX command-line.
Income compared to expenditure over time (daily, monthly or yearly).
Over time and grouped by expense (daily, monthly or yearly).
Assets minus liabilities over time (daily, monthly or yearly).
Breakdown of transactions, filterable by type.
The simplest way to install Ledger 3 is through Homebrew.
brew install ledger --HEAD
The --HEAD
option is required to install version 3.x.
Clone the node-ledger-web
git repository from GitHub.
git clone https://github.com/slashdotdash/node-ledger-web.git
Install the dependencies with npm.
cd node-ledger-web
npm install
Bower is used to manage JavaScript and CSS dependencies. Install it and our dependencies
npm install -g bower
bower install
Grunt is used for building the front-end assets. Install grunt and run its default build task.
npm install -g grunt-cli
grunt
Finally, run the express application and open http://localhost:3000/ in a web browser.
node app.js
Two http servers will be started: One to listen on port 3000 for web requests, and one on port 3001 for API requests.
Copy and edit the sample config.
cp sample-config.json config.json
vim config.json
Specify the ledger binary path. Leave it as "ledger" if it's already on your $PATH
. Otherwise, specify the absolute path.
Specify the path to your ledger file.