Go to file
Konstantinos Triantafyllou 83f879f5d3 Merge branch 'develop' of code-repo.d4science.org:MaDgIK/monitor-dashboard into develop 2023-07-10 15:27:09 +03:00
e2e [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
src Merge branch 'develop' of code-repo.d4science.org:MaDgIK/monitor-dashboard into develop 2023-07-10 15:27:09 +03:00
.browserslistrc [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
.gitignore Add .angular folder in gitignore 2022-09-23 15:08:26 +03:00
.gitmodules Rename all component css to less. Import less from common-assets and delete deprecated.css. Remove dashboard-theme submodule 2022-07-17 16:24:47 +03:00
README.md [Monitor Dashboard | Trunk]: Update to angular 11 2021-07-14 16:02:04 +00:00
angular.json Disable inline critical css in angular.json 2022-10-03 13:36:12 +03:00
package.json Create cache indicators and add methods in server. Remove dashboard path from development. Add button for cache indicators in manage stakeholders 2023-06-07 14:20:48 +03:00
server.ts Create cache indicators and add methods in server. Remove dashboard path from development. Add button for cache indicators in manage stakeholders 2023-06-07 14:20:48 +03:00
tsconfig.json Update angular core and cli to version 14 2022-09-23 13:25:18 +03:00

README.md

Monitor Dashboard

This project was generated with Angular CLI version 7.3.10 and has been updated to 11.2.14.

Install packages

Run npm install (maybe needs sudo), a script that will delete unused files from library will be run.

Development server

Run npm start for a dev server. Navigate to http://localhost:4600/dashboard. The app will automatically reload if you change any of the source files.

Build - CSR

Use the npm run build-dev for a development build.
Use the npm run build-beta for a beta build.
Use the npm run build-prod for a production build.

Build - SSR

Use the npm run build:ssr-dev for a development build.
Use the npm run build:ssr-beta for a beta build.
Use the npm run build:ssr-prod for a production build.

Run SSR

npm run serve:ssr will run the last server build.

Webpack Analyzer

In order to analyze bundle size you can run npm run webpack-bundle-analyzer

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.