Skip to content

palladium-tms/palladium-view

Repository files navigation

Palladium

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run ng build to build the project (By default use --configuration production flag). The build artifacts will be stored in the dist/ directory.

Build aot disable

Run build-aot-disable. Just-in-Time (JIT) Compiles your application in the browser at runtime.

Build with docker

Run ./docker-build/build.sh or npm run build-aot-disable to build the project via docker container.

Running unit tests

Install dependensies and run ng test to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

How to release new version (for maintainers)

  1. Manually edit the package.json "version"
  2. Update VERSION file
  3. Update CHANGELOG.md by adding version line after master (unreleased)
  4. Create PR with those changes and merge to master
  5. On master run npm run add_repo_tag
  6. On GitHub create new release via web-browser and add info from CHANGELOG.md