Skip to content

Create a Gov.uk Prototype Kit based website hosted on the MoJ Cloud Platform.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENCE.txt
Notifications You must be signed in to change notification settings

ministryofjustice/moj-prototype-template

 
 

MoJ Prototype Kit Template

repo standards badge

Create a Gov.UK Prototype Kit website, hosted on the MoJ Cloud Platform.

In addition to the protype kit v12.1.0, this repository contains Cloud Platform related files to run the website:

Files to build a docker image to run the prototype site

  • Dockerfile
  • .dockerignore
  • start.sh

Local Development

Run the command npm start and open http://localhost:3000 in a web browser.

Updating Protype Kit

To update protype kit in this repository see the update guide.

Usage

This is a template repository. It requires a namespace on the Cloud Platform, and github actions secrets in the repository settings which enable the CD workflow. This is achieved via the the Cloud Platform guide on how to Publish prototypes on the web.

The Cloud Platform guide to Publish prototypes on the web explains the steps to create an new namespace on the cloud-platform-environments repository that is used to get your version of the template repository onto Cloud Platform quickly and with the least technical effort from the user. In step 2 is a link to the template files that the Cloud Platform automatically apply to your version of the template repository during their continuous deployment stage, but in this template repository those files already exist. Therefore before step 3, delete the file github-repo.tf from the resources folder before creating a PR. This prevents the Cloud Platform CD failing as it attempts to overwrite existing files which it is not permitted to do. Alternatively if you would like to use the Cloud Platform template files, delete the files listed above from your version of the template repository and keep the github-repo.tf file. The files from the template will be applied to your repository via the Cloud Platform.

For further information on the Cloud Platform see the Cloud Platform User Guide or see the ask-cloud-platform slack channel.

About

Create a Gov.uk Prototype Kit based website hosted on the MoJ Cloud Platform.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENCE.txt

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.9%
  • SCSS 21.5%
  • HTML 13.5%
  • Other 1.1%