A React application for the front-end of the data discovery journeys and UIs being tested for the ONS website.
You'll need both Node and NPM installed before starting.
- Download this repo:
git clone [email protected]:ONSdigital/dp-dd-react-app
cd dp-dd-react-app
- Install the dependencies:
Using NPM npm install
or Yarn
yarn
- Run or build the application:
Kick off local dev server with:
./run.sh
It will host the application, auto-build and reload on file changes using. By default it uses :20040
but will accept another port as an argument, eg PORT=7000 ./run.sh
.
...or just build the files with
npm run build
See CONTRIBUTING for details.
Copyright © 2016, Office for National Statistics (https://www.ons.gov.uk)
Released under MIT license, see LICENSE for details.