Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

alphagov/government-interrogation-spending-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIST - Government Interrogation Spending Tool

Introduction

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.

Requirements

  • Ruby 1.9.3
  • SASS
  • Jekyll

Running the application

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

Deploying the application to Amazon S3

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

About

Visualisation site for exploring government spending

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published