Visualisation tool for viewing UK government spending data taken from the OSCAR (Online System for Central Accounting and Reporting) and QDS (Quarterly Data Summary) datasets.
- Ruby 1.9.3
- SASS
- Jekyll
To setup first clone the repo and run bunder to get the required gems:
bundle install
Run the script to setup the GOV.UK styles taken from submodules:
./_copy_govuk_styles.sh
Run the tests:
./_run_tests.sh
Run a process script to generate template files from the raw csv data files:
./_process_test_data.sh
Or use files stored in _processor/data:
./_process_data.sh
Run Jekyll to generate the static html for the site:
jekyll build
This project includes scripts to automatically deploy to Amazon S3 using the jekyll-s3 gem. NOTE: With the full OSCAR/QDS dataset this can take up to 45mins to copy all files to S3. Instead of Jekyll-S3 we use JetS3t for production deployments which takes 15mins.
First generate the _jekyll_s3.yml config file:
jekyll-s3
Fill in the details for your S3 bucket in the config file.
To deploy run:
./_deploy_to_s3.sh