From 06c4d6665d1026b91798175f428c9ae731f9409a Mon Sep 17 00:00:00 2001 From: Sibu Stephen Date: Thu, 17 Sep 2015 15:47:37 +0530 Subject: [PATCH 1/2] 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. --- docs/content/misc/contribute.ngdoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/content/misc/contribute.ngdoc b/docs/content/misc/contribute.ngdoc index b3f125f4dd63..8373adf5d54a 100644 --- a/docs/content/misc/contribute.ngdoc +++ b/docs/content/misc/contribute.ngdoc @@ -61,7 +61,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:/angular.js.git" # Go to the AngularJS directory: @@ -70,7 +71,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: From ea0834bcc0f5b53d4ad1b4f220bc3291a810f309 Mon Sep 17 00:00:00 2001 From: Sibu Stephen Date: Tue, 22 Sep 2015 13:46:44 +0530 Subject: [PATCH 2/2] Update contribute.ngdoc --- docs/content/misc/contribute.ngdoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/content/misc/contribute.ngdoc b/docs/content/misc/contribute.ngdoc index 8373adf5d54a..48b60a1b4f89 100644 --- a/docs/content/misc/contribute.ngdoc +++ b/docs/content/misc/contribute.ngdoc @@ -61,10 +61,12 @@ To build AngularJS, you clone the source code repository and use Grunt to genera minified AngularJS files: ```shell -# 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): +# Clone your Github repository: git clone "git@github.com:/angular.js.git" +**Note:** You may need to use sudo (for OSX, *nix, BSD etc) or run your command shell as Administrator (for Windows) to install Grunt & +Bower globally. + # Go to the AngularJS directory: cd angular.js