SORMAS-Foundation / SORMAS-Angular

Angular Frontend for the SORMAS project
https://sormasorg.helmholtz-hzi.de/
GNU General Public License v3.0
10 stars 9 forks source link
angular infectious-diseases surveillance web

SORMAS-Angular

Technical setup - checklist:

This project was generated with Angular CLI version 11.0.4.

Local dev setup

Prerequisites:

Install dependencies

Run npm i Run npm run build Run cd ./projects/api-proxy & npm i

Development server

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

You can start the app in a different language using: Ex: npm run start:de

Note: Keycloak is required to run the app - see below

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.

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.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.