Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

contribute doc updated #8168

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 24 additions & 15 deletions docs/content/misc/contribute.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -60,26 +60,35 @@ Afterwards, go ahead and [fork](http://help.github.com/forking) the [main Angula
To build AngularJS, you clone the source code repository and use Grunt to generate the non-minified and
minified AngularJS files:

```shell
# Clone your Github repository:
git clone [email protected]:<github username>/angular.js.git

# Go to the AngularJS directory:
cd angular.js
1. Clone your Github repository:
```
git clone [email protected]:<github username>/angular.js.git
```

# Add the main AngularJS repository as an upstream remote to your repository:
git remote add upstream https://github.com/angular/angular.js.git
2. Go to the AngularJS directory:
```shell
cd angular.js
```

# Install node.js dependencies:
npm install
3. Add the main AngularJS repository as an upstream remote to your repository:
```
git remote add upstream https://github.com/angular/angular.js.git
```

# Install bower components:
bower install
4. Install node.js dependencies:
```shell
npm install
```

# Build AngularJS:
grunt package
```
5. Install bower components:
```shell
bower install
```

6. Build AngularJS:
```shell
grunt package
```

<div class="alert alert-warning">
**Note:** If you're using Windows, you must use an elevated command prompt (right click, run as
Expand Down