Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit 8f176e9

Browse files
committed
Updating README with latest build instructions
* Removing old commands resolves #436 Added readme back because doc tool requires it. One in the main directory for github the one in the UI for doc tool
1 parent 84c7ce8 commit 8f176e9

File tree

2 files changed

+39
-33
lines changed

2 files changed

+39
-33
lines changed

README.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,9 @@ The following instructions can be used to do this:
6363

6464
## Unit Tests
6565

66-
$ ng test
66+
$ ng test --browsers PhantomJS --single-run
6767

68-
## E2E Tests
69-
70-
In order to also execute the End-to-End (E2E) tests, please execute the UI build using:
71-
72-
$ ng e2e
73-
74-
Please ensure that a *Spring Cloud Data Flow* server instance is running at `http://localhost:9393/`.
75-
76-
## Development
68+
# Development
7769

7870
For development, please ensure that a *Spring Cloud Data Flow* server instance is running at `http://localhost:9393/`.
7971

@@ -83,18 +75,33 @@ The execute:
8375

8476
The Dashboard will be running at `http://localhost:4200/`. The browser will automatically reload upon saving any changes to the application sources.
8577

86-
## Dependency Management using Bower
78+
# Dependency Management using Bower
8779

8880
[npm][] is used for managing UI dependencies.
8981

90-
### Install Build Dependency
82+
## Install Build Dependency
9183

9284
$ npm install --save-dev my-dependency
9385

9486
## How to Update Node.js dependencies in package.json
9587

9688
Use [https://github.com/tjunnone/npm-check-updates](https://github.com/tjunnone/npm-check-updates)
9789

90+
# Project Analytics
91+
92+
## Web Pack Bundle Analyzer
93+
Produces analysis report on the project webpack bundles.
94+
95+
$ ng build --prod --stats-json
96+
$ npm run bundle-report
97+
98+
You can view the results via your browser at: http://127.0.0.1:8888/
99+
100+
## Code Coverage Report
101+
Produces code coverage report.
102+
103+
$ ng test --browsers PhantomJS --single-run --code-coverage --reporters=coverage-istanbul
104+
98105
[Angular]: http://angular.io/
99106
[Angular CLI]: https://cli.angular.io/
100107
[frontend-maven-plugin]: https://github.com/eirslett/frontend-maven-plugin
@@ -103,3 +110,4 @@ Use [https://github.com/tjunnone/npm-check-updates](https://github.com/tjunnone/
103110
[Node.js]: http://nodejs.org/
104111
[npm]: https://www.npmjs.com/
105112
[Protractor]: https://github.com/angular/protractor
113+

ui/README.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -63,17 +63,9 @@ The following instructions can be used to do this:
6363

6464
## Unit Tests
6565

66-
$ ng test
66+
$ ng test --browsers PhantomJS --single-run
6767

68-
## E2E Tests
69-
70-
In order to also execute the End-to-End (E2E) tests, please execute the UI build using:
71-
72-
$ ng e2e
73-
74-
Please ensure that a *Spring Cloud Data Flow* server instance is running at `http://localhost:9393/`.
75-
76-
## Development
68+
# Development
7769

7870
For development, please ensure that a *Spring Cloud Data Flow* server instance is running at `http://localhost:9393/`.
7971

@@ -83,18 +75,33 @@ The execute:
8375

8476
The Dashboard will be running at `http://localhost:4200/`. The browser will automatically reload upon saving any changes to the application sources.
8577

86-
## Dependency Management using Bower
78+
# Dependency Management using Bower
8779

8880
[npm][] is used for managing UI dependencies.
8981

90-
### Install Build Dependency
82+
## Install Build Dependency
9183

9284
$ npm install --save-dev my-dependency
9385

9486
## How to Update Node.js dependencies in package.json
9587

9688
Use [https://github.com/tjunnone/npm-check-updates](https://github.com/tjunnone/npm-check-updates)
9789

90+
# Project Analytics
91+
92+
## Web Pack Bundle Analyzer
93+
Produces analysis report on the project webpack bundles.
94+
95+
$ ng build --prod --stats-json
96+
$ npm run bundle-report
97+
98+
You can view the results via your browser at: http://127.0.0.1:8888/
99+
100+
## Code Coverage Report
101+
Produces code coverage report.
102+
103+
$ ng test --browsers PhantomJS --single-run --code-coverage --reporters=coverage-istanbul
104+
98105
[Angular]: http://angular.io/
99106
[Angular CLI]: https://cli.angular.io/
100107
[frontend-maven-plugin]: https://github.com/eirslett/frontend-maven-plugin
@@ -104,12 +111,3 @@ Use [https://github.com/tjunnone/npm-check-updates](https://github.com/tjunnone/
104111
[npm]: https://www.npmjs.com/
105112
[Protractor]: https://github.com/angular/protractor
106113

107-
## Project Analytics
108-
109-
### Web Pack Bundle Analyzer
110-
Produces analysis report on the project webpack bundles.
111-
112-
$ ng build --prod --stats-json
113-
$ npm run bundle-report
114-
115-
You can view the results via your browser at: http://127.0.0.1:8888/

0 commit comments

Comments
 (0)