Giter Site home page Giter Site logo

cashflow's Introduction

cash flow projector

This is a utility project designed to forecast the cashflow in a clearing account to ensure it doesn't deplete and leave insufficient funds for direct debits.

A clearing account receives income before it is disbursed to spending and savings accounts and direct debits. The goal is to automate this account to maintain the minimum necessary cash.

Use this project to calculate the starting balance and confirm a stable budget, that doesn't trend up or down and can span those months with 5 weeks.

basic docker usage

Copy the app/config.yml.example to app/config.yml and update it with your weekly, fortnightly or monthly income and disbursements.

run containers (daemonised)

docker-compose up

This will output a transaction list and generate a chart like so

Output Example

This image need to be copied out of the container from app/output.png unless your are mapping the app volume to your local host. See below.

developing with docker on osx

Note the override file that mounts your app volume with :delegated

cp docker-compose.override.yml.example docker-compose.override.yml

The provided docker-compose.override.yaml.example file will not actually run your app. Instead it runs docker-start.override that hangs the container to leave it running so you can shell in and run your application yourself. This makes debugging easy.

Run the container with the new override file that hangs it for development

docker-compose up app

In another terminal, shell into the python app container

docker-compose exec app /bin/bash

Once shelled in you can install packages

pip install --user -r ./requirements.txt

then run

python3 start.py etc...

cashflow's People

Contributors

lukerohde avatar

Watchers

 avatar

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.