Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (30 loc) · 1.45 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.45 KB

Bing Maps Fleet Tracker - Administration Portal

The Administration portal project is an angular 4 project that exposes the functionalities of the backend to the deployment administrators. It can be used to view reports, track and provision assets, and compare dispatching routes.

Getting the sources

The sources of the Administration Portal of Bing Maps Fleet Tracker are included in this repository. If you already downloaded the sources skip this step, otherwise clone the repository to a folder of your choosing and move to the Frontend/ folder.

git clone /~https://github.com/Microsoft/Bing-Maps-Fleet-Tracker/
cd Bing-Maps-Fleet-Tracker/Frontend

Prerequisites

Once you have these tools set up, from the Frontend/ folder run the following command to install the remaining dependencies:

npm install -P -D

Build and Run

To build the portal use the command:

ng build

To run the portal:

  1. Navigate to "Frontend\src\environments\environment.ts"

  2. Fill the "backendUrl" with the url of any running backend. By default this points to localhost.

  3. Fill the "frontendUrl" with the url of the frontend server. By default this points to localhost.

  4. Use the following command to run the frontend.

    ng serve