This project was generated with Angular CLI
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.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
##Webpack build conversion reference https://developer.okta.com/blog/2019/12/09/angular-webpack
Run the following command to generate documentation
npm run doc
After successful generation goto http://localhost:18080
cmd: npx cypress open
- Fork the main repo -> https://github.com/brmaStr/brm-ngTemplate.git
You should be added as a team member to the triage team
reference: https://docs.github.com/en/get-started/quickstart/fork-a-repo - Clone the forked repo from your github account (this is very important, otherwise you will be cloning the main repo where you will not have contributer access)
reference: https://www.educative.io/answers/how-to-clone-a-git-repository-using-the-command-line - Create a branch (*** Very important)
command git branch fix-branch - checkout the created branch
command: git checkout fix-branch - Make changes
- Create required unit tests
- commit the changes
command: git add .
git commit -m "commit msg" - Publish your branch
- Make sure the CI Pipe line jobs are successful (See Actions tab in your forked repository)
- Create pull request for the previous commit
Reference: https://docs.github.com/en/get-started/quickstart/github-flow#create-a-pull-request - After your pull request is merged, you can safely delete this branch