/rihana-frontend

RIHANA - Radiological Image and History Acquisition for Neurocomputing Analysis - Frontend

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

RIHANA FRONTEND

Development

Local development server

Run npm start for a local dev server. This configuration will use the environment.ts configuration file.

A browser will be automatically opened for the URL http://localhost:4200/. The app will automatically reload if you change any of the source files.

Remote development server

Run npm run start-development for a remote dev server. This configuration will use the environment.development.ts configuration file.

A browser will be automatically opened for the URL http://localhost:4200/. The app will automatically reload if you change any of the source files.

Production server

Run npm run start-production for a remote production server. This configuration will use the environment.prod.ts configuration file.

A browser will be automatically opened for the URL http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run npm run ng -- generate component component-name to generate a new component. You can also use npm run 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 npm test to execute the unit tests via Karma.

Running end-to-end tests

Run npm run e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Other Angular commands

In order to run other ng commands you can run npm run ng -- <parameters>.

Further help

To get more help on the Angular CLI use npm run ng -- help or go check out the Angular CLI README.