npm install -g [email protected]
npm install -g @angular/[email protected]
- or
-
Before begin coding, checkout master.
-
pull master, to get the latest version
-
checkout your working branch
-
merge your working branch with master
-
you ready to add code to your branch
-
After you done, editing you push to your branch
-
checkout master
-
merge master with your edited branch
-
now you ready to push in master
-
"git clone URL-of-repositoty" to clone the project
-
"git pull" to load the latest version of project
-
"git add ." all files will be ready to push
-
"git commit -m "message" " version identification before push
-
"git push" will update the git latest with current version
-
"git checkout branchName" to switch between branchs
-
"git merge currentBranch OtherBranch" to merge my current banch with another branch
- ng serve --port 4205
- add : It is used to add support for an external library to your project.
- build : It compiles an Angular app into an output directory named dist/ at the given output path. Must be executed from within a workspace directory.
- config : It retrieves or sets Angular orkspace.
- doc : It opens the official Angular documentation (angular.io) in a browser, and searches for a given keyword.
- e2e :It builds and serves an Angular app, then runs end-to-end tests using Protractor.
- generate:It generates and/or modifies files based on a schematic.
- help :It provides a list of available commands and their short descriptions.
- lint :It is used to run linting tools on Angular app code in a given project folder.
- new :It creates a new workspace and an initial Angular app.
- run :It runs an Architect target with an optional custom builder configuration defined in your project.
- serve :It builds and serves your app, rebuilding on file changes.
- test : It runs unit tests in a project. update It updates your application and its dependencies. See https://update.angular.io/
- version : It utputs Angular CLI version.
- xi18n : It extracts i18n messages from source code.
- "mkdir dir-name" to create a new directory
- "cd dir-name" to go inside the new dir
- "touch file-name" to create a new file
- "vim file-name" to edit the new file
- "cat file-name" to see a file in terminal
- "docker build ." build all
- or "docker build -t imageName ."
- "docker images" to see all the images
- "docker run imageId/imameName" to run the image