Skip to content

Commit

Permalink
Remove the NUTs models and data as it is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-s-ccs committed Sep 6, 2024
1 parent a15adb9 commit 36cb8c2
Show file tree
Hide file tree
Showing 18 changed files with 16 additions and 558 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ The project is a fairly standard Rails web app. However, there are a few aspects
The framework-specific routes and code are all isolated from each other using namespaces with some code shared across frameworks.
In some ways the code for each framework could be considered as a mini web app in its own right and the intention is that it should be relatively easy to extract the code for one framework into a separate Rails app if that was deemed appropriate down the line.

A bunch of other less-variable data is stored in CSV files in the code repository and made available to the application via classes including the `StaticRecord` concern, e.g. `Nuts3Region` which loads its data from `data/nuts3_regions.csv`.

The user journey for each framework is made up of a series of questions which lead the user to an appropriate outcome.
This workflow is modelled by a journey class which inherits from `GenericJourney`, a series of step classes which include the `Steppable` concern, and view templates corresponding to each step.

Expand Down
15 changes: 0 additions & 15 deletions app/models/nuts1_region.rb

This file was deleted.

23 changes: 0 additions & 23 deletions app/models/nuts2_region.rb

This file was deleted.

13 changes: 0 additions & 13 deletions app/models/nuts3_region.rb

This file was deleted.

40 changes: 0 additions & 40 deletions app/services/static_data_loader.rb

This file was deleted.

13 changes: 0 additions & 13 deletions data/nuts1_regions.csv

This file was deleted.

41 changes: 0 additions & 41 deletions data/nuts2_regions.csv

This file was deleted.

174 changes: 0 additions & 174 deletions data/nuts3_regions.csv

This file was deleted.

Loading

0 comments on commit 36cb8c2

Please sign in to comment.