Coder Social home page Coder Social logo

dvc-ledger's Introduction

DVC Ledger

This is a simple ledger built using the DVC Framework

Brief

The Ledger is a single transaction file, debits are held as positive and credits as negative.

There are three journal types, each adhering to the rules above, but presented in a numerically appealing way. Payments for instance present the bank credit, and Receipts the incomes, as +ve (positive) numbers but they are applied to the ledger as -ve.

Running this demo

  1. Creates a SQLite3 database
  2. Populates it with basic data
  3. DOES NOT lock down the system
    • but if you select settings > lockdown and save
      • you will require a username/password to gain access
      • default user/pass = admin / admin

Install

To use DVC on a Windows 10 computer (Devel Environment)

  1. Install PreRequisits

    • Install PHP : http://windows.php.net/download/

      • Install the non threadsafe binary
      • by default there is no php.ini (required)
        • copy php.ini-production to php.ini
        • edit and modify/add (uncomment)
          • extension=fileinfo
          • extension=sqlite3
          • extension=mbstring
          • extension=openssl
      • note these instructions for PHP Version 7.2.7, the older syntax included .dll on windows
    • Install Git : https://git-scm.com/

      • Install the Git Bash Here option
    • Install Composer : https://getcomposer.org/

  2. Clone or download this repo

  3. optionally change the name and change to the folder

    • cd my-ledger
  4. run composer install

To run the demo

  • Review the run.cmd
    • The program is now accessible: http://localhost
    • Run this from the command prompt to see any errors - there may be a firewall conflict options to fix would be - use another port e.g. 8080

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.