2022-04-08 13:52:12 +02:00
|
|
|
# Openvidu Angular TestAPP
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-04-05 15:58:12 +02:00
|
|
|
|
2022-04-08 13:52:12 +02:00
|
|
|
## Architechture
|
2022-04-05 15:58:12 +02:00
|
|
|
|
|
|
|
```
|
2022-04-08 13:52:12 +02:00
|
|
|
openvidu-components-angular
|
|
|
|
│
|
|
|
|
└─── src (openvidu-components-testapp)
|
|
|
|
│
|
|
|
|
└───projects
|
|
|
|
│
|
|
|
|
└─── openvidu-angular
|
2022-04-05 15:58:12 +02:00
|
|
|
```
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-04-08 13:52:12 +02:00
|
|
|
## How to develop with ease:
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-04-08 13:52:12 +02:00
|
|
|
Run `ng serve` for a dev server.
|
2022-01-19 17:24:11 +01:00
|
|
|
|
2022-04-08 13:52:12 +02:00
|
|
|
Run, in a new terminal, `npm run lib:serve` for serving the openvidu-angular library with live reload for listening changes
|
|
|
|
|
|
|
|
## Code scaffolding
|
|
|
|
|
|
|
|
For generate new components in openvidu-angular:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
ng g component components/component-name --project=openvidu-angular
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Build library
|
|
|
|
|
|
|
|
```bash
|
|
|
|
npm run lib:build
|
|
|
|
```
|
|
|
|
|
|
|
|
## Publishing
|
|
|
|
|
|
|
|
After the library is built, tun the following command:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
cd dist/ && npm publish
|
|
|
|
```
|