Code Monkey home page Code Monkey logo

content-design's Introduction

NHS.UK prototype kit

Visit the NHS.UK prototype kit site to download the latest version and read the documentation.

About the NHS.UK prototype kit

The NHS.UK prototype kit enables you to make interactive prototypes that will look like pages on NHS.UK. The prototypes you make are a great way to show ideas to others and for conducting user research.

Security

If you publish your prototypes online, they must be protected by a username and password. This is to prevent members of the public finding prototypes and thinking they are real services.

You must protect user privacy at all times, even when using prototypes. Prototypes made with the kit look like NHS.UK, but do not have the same security provisions. Always make sure you are handling user data appropriately.

Installation instructions

Contribute

If you want to contribute to the NHS.UK prototype kit, by reporting bugs, fixing bugs, suggesting new features or writing documentation, then read our contributing guidelines.

Development environment

Before running Gitpod, you must install the Gitpod.io application on your GitHub account.

Gitpod also requires access to public repositories. Enable this via Gitpod integrations. (Click on the 3 dots to edit permissions for your GitHub account. Gitpod may pre-select permissions. You need read/write access to code in the repos.)

Using your own GitHub credentials you can create, change, commit and push to branches on our Gitpod container via the "ready to code" button below.

Gitpod ready-to-code

Read an introduction to Gitpod (on Gitpod's website).

Release lifecycle

The below is only for maintainers of the prototype kit source code - these instructions aren't relevant if you're building your own prototype using the kit.

Testing

Run unit tests locally with npm run test.

Environments

Preview environment

Code pushed to the main branch will deploy on the Preview environment.

Live

The live NHS.UK prototype kit Live environment, accessible to the public.

Note: Live is behind a server side cache which results in changes not appearing immediately.

Versioning and deploying to live

  • Merge required changes via PR into main branch
    • Ensure the version number in package.json and CHANGELOG.md match, with a summary of the changes included in the changelog
  • Verify the changes in the Preview environment
  • Pull down merged main branch to your local repository
  • Create a tag with the version number from the latest commit on main
    • If the latest version you're looking to push is version "1.2.3", you can do this on the command line with
      • git tag v1.2.3
      • git push --tags
  • Github actions will spring to life and create a release which will be visible on the releases tab of the repository.
  • Finally, edit the description of the release to match the content entered into the changelog.
  • To deploy the changes to Live, the promotion to Live from the Preview environment must have the appropriate approval in Azure.

Code Analysis

Code analysis results can be found in SonarQube.

Support

The NHS.UK prototype kit is maintained by NHS England. Email us, open a Github issue or get in touch on the NHS digital service manual Slack workspace.

content-design's People

Contributors

mattfielding avatar

Watchers

 avatar Colin avatar Jon Abbott 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.