Skip to content

Latest commit

 

History

456 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

services-dashboard-web

This service is the web component of the services dashboard. (Please refer to the main documentation in services-dashboard-api for an overview).

It is primarily designed to display information stored in Mongo that has been collected by other components of the dashboard. The same information can be displayed in different tabs. In other words, the dashboard provides multiple views of the data, depending on the user (currently developers or product owners, though it can be extended for other roles, (such as testers) or use cases).

How to Run locally using docker

1. Create .env file

Add the below environment variables to the .env file and save under services-dashboard-web folder. Update with the appropriate values pointing to local or dev environment.

MONGO_USER=
MONGO_PASSWORD=
MONGO_HOSTANDPORT=
CDN_URL=
DEP_TRACK_SERVER=
SONAR_SERVER=

2. Build local docker image.

Run the following commands from the services-dashboard-web folder in the terminal.

npm install
npm run build
docker build -f Dockerfile.local -t local-services-dashboard .

3. Run docker image.

Run the following command from the terminal.

docker run --env-file .env -it --rm -p 3000:3000 local-services-dashboard

Access the service from http://localhost:3000/dashboard in the browser.

AWS

Route to live

This app differs from most CH services in that cidev is the live service and therefore the route to live stops at the first environment. To help support a test cycle 2 versions of the service are deployed to cidev; a test version and the live dashboard. Both will be accessible to all users with path matching keeping the test dashboard "hidden" to most.

Deployment

To deploy the test service to cidev pin the source-code-release-tag to the desired version, to deploy the live service to cidev pin the standard deployment-release resource to the desired version.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

25 watching

Forks

Releases

Packages

Used by

Contributors

Languages