commit | 66ace62be1e451ceb1df2f95dd80e3fd81462ac6 | [log] [tgz] |
---|---|---|
author | Akhil PB <akhil.pb001@gmail.com> | Mon Mar 25 14:48:30 2019 +0530 |
committer | Akhil PB <akhil.pb001@gmail.com> | Mon Mar 25 14:48:30 2019 +0530 |
tree | 354e2ca42abfae38f8d44916833ee3b3ad41335c | |
parent | 8c1652eb9deaba35759a1cad23ebb8236495353d [diff] |
Added jobs/apps api changes
This project was generated with Angular CLI version 6.1.3.
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.
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
.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
The app depends on json-server for data. Install json-server locally. Run make start-jsonserver
to start json-server for local development. Run ng serve
to start angular dev server and navigate to http://localhost:4200/
.
Run make build-webapp
to build the docker image scheduler-web. Run make start-webapp
to deploy the container from the docker image scheduler-web. Run make deploy-prod
to build and deploy the scheduler webapp using docker-compose. The project uses multi-stage build feature of the docker and requires Docker 17.05 or higher
.
The configurations for the endpoints of scheduler and prometheus should be provided in the /assets/config/envconfig.json
file. The webaddress can be configured as "hostname:port"
or ":port"
. If there is no hostname provided, the hostname will be inferred from the URL at which the UI is running.