This code is designed to practice approaches to CI and CD in a boot camp. It is a simplified implementation of the rules for UK vehicle tax as of 2017 (the full rules can be found here https://www.gov.uk/vehicle-tax-rate-tables).
It is critical that you can push changes to github.com. Check you can by logging out and logging in again. You will need to have a git client installed. In addition, there are language specific steps below.
- Fork the project.
- Do not clone the project using your IDE as you’ll end up opening/importing the root directory. Clone your fork from the command line by running
git clone https://github.com/YOUR_USERNAME/tax_calculator
- Complete the language specific set up to get your environment working:
That’s all in terms of preparation. Please don’t read ahead, as you’ll get the most out of the boot camp if you haven’t already read the material.
C02 g/km | Petrol |
---|---|
0 | £0 |
1 - 50 | £10 |
51 - 75 | £25 |
76 - 90 | £105 |
91 - 100 | £125 |
101 - 110 | £145 |
111 - 130 | £165 |
131 - 150 | £205 |
151 - 170 | £515 |
171 - 190 | £830 |
191 - 225 | £1,240 |
226 - 255 | £1,760 |
Over 255 | £2,070 |
C02 g/km | Diesel |
---|---|
0 | £0 |
1 - 50 | £25 |
51 - 75 | £105 |
76 - 90 | £125 |
91 - 100 | £145 |
101 - 110 | £165 |
111 - 130 | £205 |
131 - 150 | £515 |
151 - 170 | £830 |
171 - 190 | £1,240 |
191 - 225 | £1,760 |
226 - 255 | £2,070 |
Over 255 | £2,070 |
C02 g/km | Alternative Fuel |
---|---|
0 | £0 |
1 - 50 | £0 |
51 - 75 | £15 |
76 - 90 | £95 |
91 - 100 | £115 |
101 - 110 | £135 |
111 - 130 | £155 |
131 - 150 | £195 |
151 - 170 | £505 |
171 - 190 | £820 |
191 - 225 | £1,230 |
226 - 255 | £1,750 |
Over 255 | £2,060 |
Fuel | Cost |
---|---|
Petrol or Diesel | £140 |
Electric | £0 |
Alternative | £130 |
Fuel | Cost |
---|---|
Petrol or Diesel | £450 |
Electric | £310 |
Alternative | £440 |
C02 g/km | Other diesels |
---|---|
0 | £0 |
1 - 50 | £25 |
51 - 75 | £110 |
76 - 90 | £130 |
91 - 100 | £150 |
101 - 110 | £170 |
111 - 130 | £210 |
131 - 150 | £530 |
151 - 170 | £855 |
171 - 190 | £1,280 |
191 - 225 | £1,815 |
226 - 255 | £2,135 |
Over 255 | £2,135 |
C02 g/km | Petrol and RDE2 compliant Diesel |
---|---|
0 | £0 |
1 - 50 | £10 |
51 - 75 | £25 |
76 - 90 | £110 |
91 - 100 | £130 |
101 - 110 | £150 |
111 - 130 | £170 |
131 - 150 | £210 |
151 - 170 | £530 |
171 - 190 | £855 |
191 - 225 | £1,280 |
226 - 255 | £1,815 |
Over 255 | £2,135 |