- Start with ensure you have 'esb_ppr' index. If you don't have a such, run:
yarn create-index
, elsewhere you may want to delete the existing one: issueDELETE /esb_ppr
to Elasticsearch host - Put mappings to this index:
yarn put-mappings
- Load sample data:
yarn load-sample-data
or if you have access to MS SQLServer with real data:yarn load-data
$ yarn debug
to start debugging with Chrome NIM
$ yarn debug-mock
to debug with Chrome NIM using mocked services
Production is configured to run on babel-node
, so before running start
, ensure you get babel-node
by installing babel-cli.
$ yarn start
to run without debugger with real backend services