Skip to content

Who has got time to read receipts? Let Blazing Bookkeeper blaze through all your receipts in no time.

License

Notifications You must be signed in to change notification settings

danschultzer/blazing-bookkeeper

Repository files navigation

Blazing Bookkeeper

Electron powered app that does accounting for you using receipt-scanner. Build with electron boilerplate

Travis Codecov David (app) David (boilerplate)

Before install and release

Third party libraries are installed in /thirdparty. To successfully compile node-opencv with no global OpenCV installation, you'll need to set PKG_CONFIG_PATH. Run commands like so:

PKG_CONFIG_PATH=$(pwd)/thirdparty/opencv/lib/pkgconfig npm install
PKG_CONFIG_PATH=$(pwd)/thirdparty/opencv/lib/pkgconfig npm run release

Unit tests

Using electron-mocha test runner with the chai assertion library. To run the tests go with standard:

npm test

All *.spec.js files in the src directory will be included.

End to end tests

Using mocha test runner and spectron. Run with command:

npm run e2e

All *.e2e.js in e2e will be included.

Code coverage

Using istanbul code coverage tool. Run with command:

npm run coverage

You can set the reporter(s) by setting ISTANBUL_REPORTERS environment variable (defaults to text-summary and html). The report directory can be set with ISTANBUL_REPORT_DIR (defaults to coverage).

Making a release

To make ready for distribution installer use command:

npm run release

It will start the packaging process for operating system you are running this command on. Ready for distribution file will be outputted to dist directory.

You can create Windows installer only when running on Windows, the same is true for Linux and OSX. So to generate all three installers you need all three operating systems.

All packaging actions are handled by electron-builder.

LICENSE

(The MIT License)

Copyright (c) 2016 Dan Schultzer, Benjamin Schultzer & the Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.