1
|
# Connect
|
2
|
|
3
|
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.10 and has been updated to 11.2.14.
|
4
|
|
5
|
## Install packages
|
6
|
|
7
|
Run npm install (maybe needs sudo), a script that will delete unused files from library will be run.
|
8
|
|
9
|
## Development server
|
10
|
|
11
|
Run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
12
|
|
13
|
## Build - CSR
|
14
|
|
15
|
Use the `npm run build-dev` for a development build.<br>
|
16
|
Use the `npm run build-beta` for a beta build.<br>
|
17
|
Use the `npm run build-prod` for a production build.
|
18
|
|
19
|
## Build - SSR
|
20
|
|
21
|
Use the `npm run build:ssr-dev` for a development build.<br>
|
22
|
Use the `npm run build:ssr-beta` for a beta build.<br>
|
23
|
Use the `npm run build:ssr-prod` for a production build.
|
24
|
|
25
|
## Run SSR
|
26
|
|
27
|
`npm run serve:ssr` will run the last server build.
|
28
|
|
29
|
## Webpack Analyzer
|
30
|
|
31
|
In order to analyze bundle size you can run `npm run webpack-bundle-analyzer`
|
32
|
|
33
|
## Running unit tests
|
34
|
|
35
|
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
36
|
|
37
|
## Running end-to-end tests
|
38
|
|
39
|
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
|