This is where we store our prototypes.
Clone the repository:
$ git clone git@github.com:communitiesuk/epb-prototypes.git
Change directory to epb-prototypes
:
$ cd epb-prototypes
-
Build the image
docker build -t epb-prototypes ./
-
Run the container
docker run -d -p 80:80 --name epb-prototypes-web- epb-prototypes
-
Run in password protected mode
docker run -d -p 80:80 -e NODE_ENV=production -e USE_HTTPS=false -e PASSWORD=test --name epb-prototypes-web epb-prototypes
-
Go to localhost in your browser
- Node.js 18.x.x
- Note: Installing Node.js using the above link will automatically install Node Package Manager (NPM).
- Node Package Manager (NPM)
Install the Node.js modules:
$ npm i
Start the local server:
$ npm run dev
- Go to localhost in your browser
- Note: Some systems might have a service already listening
on port 80. Simply read the console output from
npm start
to identify your port.
- Note: Some systems might have a service already listening
on port 80. Simply read the console output from
- Cloned from GOV.UK Prototype Kit
- GOV.UK Design System