Project

General

Profile

1
# Explore
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:4300/`. 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-test` for a test build.<br>
17
Use the `npm run build-beta` for a beta build.<br>
18
Use the `npm run build-prod` for a production build.
19

    
20
## Build - SSR
21

    
22
Use the `npm run build:ssr-dev` for a development build.<br>
23
Use the `npm run build:ssr-test` for a test build.<br>
24
Use the `npm run build:ssr-beta` for a beta build.<br>
25
Use the `npm run build:ssr-prod` for a production build.
26

    
27
## Run SSR
28

    
29
`npm run serve:ssr` will run the last server build.
30

    
31
## Webpack Analyzer
32

    
33
In order to analyze bundle size you can run `npm run webpack-bundle-analyzer`
34

    
35
## Running unit tests
36

    
37
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
38

    
39
## Running end-to-end tests
40

    
41
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
(2-2/9)