Method
- run
npm install
- Modify the configuration file
router
under/config/formal
, Set the engine_addr field to the self-triage engine service address such as localhost:50051 - Debug and execute
npm run dev
locally, will read the configuration file ofconfig/local
- Modify
start
command ofpackage.json
and configureLOG_PATH
- Execute
npm run start
to run the program, will read the configuration files ofLOG_PATH
andconfig/formal