File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ To spin up the example application:
61612 . Run ` npm run pkg:install ` to install all necessary dependencies
62623 . Run ` npm start `
6363
64- Open a web browser to ` localhost:5000 ` to send requests from the client
64+ Open a web browser to ` localhost:5001 ` to send requests from the client
6565
6666Your microservice health metrics may be viewed in the given ` CHRONOS_URI ` database, or in the Electron.js desktop application.
6767
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import eventRouter from './routes/event-router';
77import { NotFoundError , errorHandler } from '@chronosrx/common' ;
88
99import chronosConfig from './chronos-config' ;
10- const Chronos = require ( '@chronosmicro/tracker ' ) ;
10+ const Chronos = require ( '../../../../chronos_npm_package/chronos.js ' ) ;
1111const chronos = new Chronos ( chronosConfig ) ;
1212chronos . propagate ( ) ;
1313
Original file line number Diff line number Diff line change @@ -20,4 +20,6 @@ const chronosConfig = {
2020
2121 notifications : [ ] ,
2222} ;
23+ console . log ( process . env . CHRONOS_DB )
24+ console . log ( process . env . CHRONOS_URI )
2325export default chronosConfig ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import react from '@vitejs/plugin-react';
44// https://vitejs.dev/config/
55export default defineConfig ( {
66 plugins : [ react ( ) ] ,
7- server : { open : true , port : 5000 } ,
7+ server : { open : true , port : 5002 } ,
88 build : {
99 outDir : '../client/src' ,
1010 } ,
Original file line number Diff line number Diff line change 11const path = require ( 'path' ) ;
22const express = require ( 'express' ) ;
33
4- const PORT = 5000 ;
4+ const PORT = 5001 ;
55
66const chronosConfig = require ( './chronos-config' ) ;
77const Chronos = require ( '@chronosmicro/tracker' ) ;
You can’t perform that action at this time.
0 commit comments