git submodule init
git submodule update
npm ci
npm run codegen
-
API (Production API default)
-
With mocks:
Change
./src/appConfig.json
API endpoints
-
-
Start
-
Real Keycloak:
npm start
-
Stub Keycloak
-
Change
./src/authConfig.json
/"auth-server-url"
: -
npm run stub
-
-
-
Navigate to
http://localhost:8000/
- Run
npm run build
- The build artifacts will be stored in the
dist/
directory.
-
Add submodule
git submodule add -b <SCHEME_BRANCH> <SCHEME_REPO> schemes/<SCHEME_NAME>/<VER:VX>
-
Add
schemes/<SCHEME_NAME>/<VER:VX>
toMakefile
SWAGGER_SCHEMES_PATH
property -
Add
"<SCHEME_NAME>": "schemes/<SCHEME_NAME>/<VER:VX>"
toopenapi-codegen-config.json
schemes
property -
(*) Add
"<SCHEME_NAME>Endpoint": "<URL>"
tosrc/assets/appConfig.json
api
property -
Add in
src/api-codegen/<SCHEME_NAME>
files:index.ts
<SCHEME_NAME>.module.ts
<SCHEME_NAME>-config.service.ts
-
Add
<SCHEME_NAME>.module.ts
tosrc/app/api/api.module.ts
imports
-
Create
src/api/<SCHEME_NAME>
module
- Run
npm run test
to execute the unit tests via Karma.
npm run build -- --prod --stats-json --extraWebpackConfig webpack.extra.js
npx webpack-bundle-analyzer dist/stats.json