Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

inLabFIB/toopath-web

Repository files navigation

TooPath Web

This project was developed as a front-end of the TooPath API.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

We provide a Dockerfile to build and image and setup a TooPath web instance, you should run:

docker build -t toopath/web .
docker run --name web -p 4200:80 toopath/web

Prerequisites

  • Install Node.js 10.15.1.
  • Install Angular CLI 7.3.1 via npm install -g @angular/cli@7.3.1.

Dependencies

To install the web dependencies just run npm install.

Development server

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

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 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.

Built With

Authors

  • Albert Díaz Benitez - First stable version - AlbertWayne

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.