Giter Site home page Giter Site logo

querkmachine / govuk-services-list Goto Github PK

View Code? Open in Web Editor NEW

This project forked from x-govuk/govuk-services-list

0.0 0.0 0.0 358.11 MB

A catalogue of digital services from the UK government and its agencies.

Home Page: https://govuk-digital-services.herokuapp.com

License: MIT License

JavaScript 22.17% Ruby 22.74% HTML 50.79% SCSS 4.28% Procfile 0.02%

govuk-services-list's Introduction

UK Government digital services

A community-maintained list of digital services from the UK government.

Data sources

Previous data sources

How to run this project

You’ll need

  1. Node 20
  2. NPM

Using a command line run

npm install
npm start

How to add or update screenshots

Screenshots for service landing or home pages can be added automatically by running a script.

First, you need to have the latest version of Google Chrome installed.

To tell the script where the Google Chrome executable is located on your computer, create a file named .env (in the same folder as this README.md file) and add this named environment variable:

GOOGLE_CHROME_PATH=""

For example, on a Mac, this may be something like this:

GOOGLE_CHROME_PATH="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"

Once this is set up, you can run the script to add the screenshots using this command:

npm run screenshots register-to-vote

Substitute register-to-vote with the name of the file for the service you want to screenshot.

You can also update all the screenshots (which will take a while) by running this command:

npm run screenshots all

Screenshots will be saved in the app/assets/images/service-screenshots folder, using the same name as the json file within app/services. Images are all 2160×2160 pixels (1080x1080 at 2× resolution), and will be rendered with no cookies set (so will include any cookie banner).

govuk-services-list's People

Contributors

frankieroberto avatar dependabot[bot] avatar techforevil avatar paulrobertlloyd avatar nickcolley avatar simonneb avatar emollett avatar surminus avatar matthewford avatar sanjaypoyzer avatar colinbruce avatar htmlandbacon avatar saliceti avatar davidsoff avatar jamietanna avatar jonodrew avatar peterkwells avatar

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.