Coder Social home page Coder Social logo

jpbutler84 / calculators Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alphagov/calculators

0.0 0.0 1.0 678 KB

Serves the Child benefit tax calculator on GOV.UK

Home Page: https://docs.publishing.service.gov.uk/apps/calculators.html

License: MIT License

Ruby 82.41% JavaScript 2.26% CSS 2.00% HTML 12.24% Shell 1.10%

calculators's Introduction

Child Benefit tax calculator

This calculator reports how much child benefit tax you are entitled during a tax year.

There is a cut-off date of 7 January 2013. This is the date High Income Child Benefit Tax Charge came in effect. This means that if the 2012 tax year is selected the calculator will only calculate the child benefit you are entitled to from 7 Jan 2013 to 5 Apr 2013, not for the entire tax year.

Running the app

./startup.sh

To run the app with the live content store and static

./startup.sh --live

The only content in this app is child-benefit-tax-calculator/main

Running tests

bundle exec rake spec

Deploying changes for Factcheck

When making bigger changes that need to be tested or fact-checked before they are deployed to GOV.UK you might want to deploy the branch with changes to Heroku.

Start by creating a GitHub pull request with the changes you want to deploy.

Make a note of the pull request number and use the startup_heroku.sh script to deploy your changes to Heroku:

$ PR=<number-of-pull-request> ./startup_heroku.sh

This script will create and configure an app on Heroku, push the current branch and open the child-benefit-tax-calculator/main Calculator in the browser.

Dependencies

  • publishing-api: this app sends data to publishing-api to register URLs.

calculators's People

Contributors

alecgibson avatar alext avatar bishboria avatar boffbowsh avatar brenetic avatar camillebaldock avatar carvil avatar dsingleton avatar edds avatar elliotcm avatar fofr avatar h-lame avatar ikennaokpala avatar jackfranklin avatar jackscotti avatar jordanhatch avatar kushalp avatar leenagupte avatar lutgendorff avatar mnowster avatar nickcolley avatar norm avatar pmanrubia avatar shotclog avatar sihugh avatar steventux avatar tadast avatar tijmenb avatar tombye avatar vinayvinay avatar

Forkers

hannahwhittaker

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.