Update README.md

Close #341, #342
This commit is contained in:
Filipe Silva 2015-11-03 15:15:38 +00:00 committed by Ward Bell
parent 3801b11d14
commit 9e088bfe73
1 changed files with 6 additions and 11 deletions

View File

@ -8,20 +8,15 @@ Angular.io is currently the preview site for Angular 2. This site also includes
## Development Setup ## Development Setup
1. install [nvm](https://www.npmjs.com/package/nvm) 1. install [nvm](https://www.npmjs.com/package/nvm)
2. cd into root directory `angular.io/` 2. Clone this repo and [angular](https://github.com/angular/angular) on the same parent directory
3. make sure you are using the latest node and npm by running `nvm use 4`. 3. cd into root directory `angular.io/`
3. install local packages by running `npm install` 4. make sure you are using the latest node and npm by running `nvm use 4`.
5. install local packages by running `npm install`
## Development setup with watches ## Local server with watches and browser reload
1. cd into root directory `angular.io/`
2. run `gulp serve-and-watch`
3. open this url in the browser: [http://localhost:9000/](http://localhost:9000/)
4. refresh your browser to see any changes.
## Development setup with watches and browser reload
1. cd into root directory `angular.io/` 1. cd into root directory `angular.io/`
2. run `gulp serve-and-sync` 2. run `gulp serve-and-sync`
3. browser will launch ( on localhost:3000 instead of localhost:9000) and stay refreshed automatically. 3. browser will launch on localhost:3000 and stay refreshed automatically.
## Technology Used ## Technology Used
- Angular 1.x: The production ready version of Angular - Angular 1.x: The production ready version of Angular