This repository was part of HCA DCP/1 and is not maintained anymore. DCP/2 development of this component continues in the forked repository at https://github.com/ebi-ait/ingest-ui.
This is the UI app for monitoring and tracking submissions to the DCP.
- Install
nvm
to install node.https://github.com/nvm-sh/nvm - Clone this repo
- cd to /client
npm install
ng serve -c=dev
(quickly check if UI is working, this will point to Ingest API in dev)
(Optional) if you're just updating your setup, do the ff before npm install:
rm -rf node_modules/
npm cache verify
Currently working with the ff versions:
$ node --version
v12.7.0
$ npm --version
6.10.0
$ ng --version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 8.1.0
Node: 12.7.0
OS: darwin x64
Angular: undefined
...
Package Version
------------------------------------------------------
@angular-devkit/architect 0.801.0 (cli-only)
@angular-devkit/core 8.1.0 (cli-only)
@angular-devkit/schematics 8.1.0 (cli-only)
@schematics/angular 8.1.0 (cli-only)
@schematics/update 0.801.0 (cli-only)
rxjs 6.5.2
Run ng serve -c=[local|dev|integration|staging|prod]
for a dev server pointing to the ingest api urls configuration in the environment.<env>.ts
. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Please check ingest-kube-deployment
repo
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
.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.