Clone the project using git:
git clone https://github.com/nhsbsa/pprs-prototype.gitor
git clone git@github.com:nhsbsa/pprs-prototype.gitOnce the project is cloned, run the following command to download and install node dependencies:
npm install
npm install gulpIf there are issues downloading dependencies, you may need to add the nhsbsa npm repository. To do this:
- Create the file ~/.npmrc
- Add the following configuration:
registry=https://dps-nexus.service.nhsbsa:8443/repository/npm
strict-ssl=falseInstall the live reload plugin for your browser
To run the prototype locally, use gulp:
gulpThe prototype will then open a window in your browser on http://localhost:5000.
Browser sync settings can be accessed on http://localhost:5001.