2021-07-15 16:18:16 +03:00
|
|
|
# Contributing
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
|
|
|
|
Clone the repository:
|
|
|
|
```
|
|
|
|
git clone <url>
|
|
|
|
```
|
|
|
|
|
|
|
|
Navigate to the cloned directory
|
|
|
|
|
2022-11-20 12:14:04 +03:00
|
|
|
Navigate to the *Angular\powerbi-client-angular* workspace folder:
|
2021-07-15 16:18:16 +03:00
|
|
|
```
|
2022-11-20 12:14:04 +03:00
|
|
|
cd Angular\powerbi-client-angular
|
2021-07-15 16:18:16 +03:00
|
|
|
```
|
|
|
|
|
|
|
|
Install local dependencies:
|
|
|
|
```
|
|
|
|
npm install
|
|
|
|
```
|
|
|
|
|
|
|
|
## Build:
|
|
|
|
```
|
|
|
|
ng build
|
|
|
|
```
|
|
|
|
Or if using VScode: `Ctrl + Shift + B`
|
|
|
|
|
|
|
|
## Test
|
|
|
|
```
|
|
|
|
ng test
|
|
|
|
```
|
|
|
|
By default the tests run using ChromeHeadless browser
|
|
|
|
|
|
|
|
The build and tests use webpack to compile all the source modules into bundled module that can be executed in the browser.
|
|
|
|
|
|
|
|
## Running the demo
|
|
|
|
|
|
|
|
```
|
|
|
|
npm run demo
|
|
|
|
```
|
|
|
|
|
|
|
|
Open the address to view in the browser:
|
|
|
|
|
|
|
|
http://localhost:4200/
|
|
|
|
|
|
|
|
## Flow Diagram for the PowerBI Report Component:
|
2023-01-24 14:07:32 +03:00
|
|
|
![Flow Diagram](/resources/angular_wrapper_flow_diagram.png)
|