Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 1.34 KB

README.md

File metadata and controls

50 lines (27 loc) · 1.34 KB

metabolitics-client-v2

For Development

  1. Clone metabolitics-client-v2 repository by running the below command in a terminal.

    git clone https://github.com/itu-bioinformatics-database-lab/metabolitics-client.git

  2. Install nvm from the following link:

    https://github.com/coreybutler/nvm-windows

  3. Run below commands one by one in a terminal.

    nvm install 10.5

    nvm use 10.5.0

  4. Run the below command under metabolitics-client-v2 repository.

    npm ci

  5. Run the below command under metabolitics-client-v2 repository.

    npm install -g @angular/[email protected]

  6. Run the below command under metabolitics-client-v2 repository from Command Prompt.

    ng serve

  7. To run metabolitics-client-v2, open localhost:4200.

Install

Run npm install for installation.

Run

Run ng serve for a dev server. Navigate to http://localhost:4200/.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

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. Before running the tests make sure you are serving the app via ng serve.