A script to spin up an ephemeral copy of the GOV.UK One prototye kit locally.
It clones the documenation repo into a temporary folder locally, fixes the version of Node.js, installs dependencies and runs the server.
Review pages at http://localhost:3000
Assumes you have:
- bash
- git
- curl
- nvm
- node
bash -l -c "$(curl -fsSl https://gist.githubusercontent.com/pauldougan/4201579528761af65bd06fe4e2e7d093/raw/402d05ec715aa9935e8e434d8ed3db90b927917b/run-authentication-tech-docs.sh)"
alias run-govuk-prototype-kit='bash -l -c "$(curl -fsSl https://gist.githubusercontent.com/pauldougan/4201579528761af65bd06fe4e2e7d093/raw/402d05ec715aa9935e8e434d8ed3db90b927917b/run-authentication-tech-docs.sh)"'
add to your ~/.bash_profile then type run-govuk-prototype-kit at the command line