Essential note when cloning into Angular repository
1) First change - Whenever cloning into directory there are chances of some users using "sudo" without knowing what it does exactly and what's the purpose of using sudo, leading them into a confusion and this lead to changes in git config and permission issues of which users may not be able to figure out at one spot. 2) Second Change- There are chances of version unstability issues in node which at times causes npm error and warnings while installing packages, I too had undergone some issues with node version conflicts at times, users who are not aware of this will be benefited with a Note prior.
This commit is contained in:
committed by
Martin Staffa
parent
00cdc945ba
commit
febda8f7bf
@@ -52,7 +52,8 @@ To build AngularJS, you clone the source code repository and use Grunt to genera
|
||||
minified AngularJS files:
|
||||
|
||||
```shell
|
||||
# Clone your Github repository:
|
||||
# Clone your Github repository(Note: Do not go with `sudo` user when cloning into this repository
|
||||
if not known what it does essentially, please refer https://www.linux.com/learn/tutorials/306766:linux-101-introduction-to-sudo):
|
||||
git clone "git@github.com:<github username>/angular.js.git"
|
||||
|
||||
# Go to the AngularJS directory:
|
||||
@@ -61,7 +62,7 @@ cd angular.js
|
||||
# Add the main AngularJS repository as an upstream remote to your repository:
|
||||
git remote add upstream "https://github.com/angular/angular.js.git"
|
||||
|
||||
# Install node.js dependencies:
|
||||
# Install node.js dependencies(Note: Please check for the stable version of node before installing the essential packages):
|
||||
npm install
|
||||
|
||||
# Install bower components:
|
||||
|
||||
Reference in New Issue
Block a user