No release in over 3 years
Low commit activity in last 3 years
Tools to build your double entry financial ledger
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 3.2.0
>= 2.0.0.beta2
>= 6.0.0
>= 3.2.0
 Project Readme

DoubleEntry Reporting

License MIT Gem Version Build Status

Installation

In your application's Gemfile, add:

gem 'double_entry-reporting'

Download and install the gem with Bundler:

bundle

Generate Rails schema migrations for the required tables:

rails generate double_entry:reporting:install

Update the local database:

rake db:migrate

Development Environment Setup

  1. Clone this repo.

    git clone git@github.com:envato/double_entry-reporting.git && cd double_entry-reporting
  2. Run the included setup script to install the gem dependencies.

    ./script/setup.sh
  3. Install MySQL, PostgreSQL and SQLite. We run tests against all three databases.

  4. Create a database in MySQL.

    mysql -u root -e 'create database double_entry_reporting_test;'
  5. Create a database in PostgreSQL.

    psql -c 'create database double_entry_reporting_test;' -U postgres
  6. Specify how the tests should connect to the database

    cp spec/support/{database.example.yml,database.yml}
    vim spec/support/database.yml
  7. Run the tests

    bundle exec rake