Skip to content

Blackrobot96/informaticup2021-gui

Repository files navigation

Gui

Docker image ready to go

Run docker run -it -p 8080:80 --rm robertkerzel/informaticup2021-gui anywhere in a command prompt like powershell or cmd. The Image will be downloaded from dockerhub. After it is successfully downloaded and has startet you will see the message: /docker-entrypoint.sh: Configuration complete; ready for start up at this point you can open http://localhost:8080 in your browser. You will now be able to drop in the json logfiles generated by out agent.

Docker image build & push

After building angular run docker build --tag robertkerzel/informaticup2021-gui . and push it to dockerhub docker push robertkerzel/informaticup2021-gui.

Installation

Run npm install in the folder.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. A valid Websocket server has to run or be specified.

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.