Skip to content

ministryofjustice/crmfour-proto

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

No description, website, or topics provided.

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