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

Archi-Lab/prox-web-client

Repository files navigation

Prox Web Client

This web application acts as the frontend to Prox.

This project was generated with Angular CLI version 7.2.3.

Installation

To use the services from *.archi-lab.io

# Execute from the project root folder
docker build -t docker.nexus.archi-lab.io/archilab/prox-web-client -f ./docker/Dockerfile .

To use the local/dev services from localhost

# Execute from the project root folder
docker build --build-arg APP_ENV="" -t docker.nexus.archi-lab.io/archilab/prox-web-client -f ./docker/Dockerfile .

Builds a Docker image based on the source code and the dependencies in the package.json and package-lock.json.

Local usage

Powershell

$env:IMAGE='prox-web-client'; `
$env:TAG='latest'; `
docker-compose -f ./docker/docker-compose.yml up

Bash/Shell

export IMAGE="prox-web-client" &&
export TAG="latest" &&
docker-compose -f ./docker/docker-compose.yml up

Starts a Docker container based on the compose file and the image. A Docker network named prox is required for the communication between services:

docker network create prox

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.

Further help

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

About the Team

This service is currently developed by members of the ArchiLab staff: