This prototype uses node to provide a simple prototype for the Data hub app with a GOV.UK look and feel.
- Node.js (>= 6.9.1)
- Clone repository:
git clone https://github.com/UKTradeInvestment/data-hub-prototype
- Install node dependencies:
npm install
You will need Redis running - if you don't have it installed locally you can run from a docker container:
docker run -d -p 6379:6379 redis
Run the server in either production mode or develop mode
Builds static assets and runs a server using node
npm run build
npm start
Server watches for changes, builds and updates browser with browser-sync
npm run develop
There are notes in the readme file in the test folder to describe the best way to run regular tests and how to attempt to run those same tests with a real browser via browserstack.
With special thanks to BrowserStack for providing cross browser testing.