From 26b01dbb618b75a439c39ea5848b637cec4d8e2c Mon Sep 17 00:00:00 2001 From: crisbeto Date: Wed, 24 Oct 2018 23:19:52 +0200 Subject: [PATCH] chore: update dev environment guide to use yarn --- DEV_ENVIRONMENT.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/DEV_ENVIRONMENT.md b/DEV_ENVIRONMENT.md index e523f8489940..ae72f24f3dc9 100644 --- a/DEV_ENVIRONMENT.md +++ b/DEV_ENVIRONMENT.md @@ -1,18 +1,18 @@ # Developer guide: getting your environment set up 1. Make sure you have `node` installed with a version at _least_ 5.5.0. -2. Run `npm install -g gulp` to install gulp. -3. Fork the `angular/material2` repo. -4. Clone your fork. +2. Run `yarn global add gulp` to install gulp. +3. Fork the `angular/material2` repo. +4. Clone your fork. Recommendation: name your git remotes `upstream` for `angular/material2` and `` for your fork. Also see the [team git shortcuts](https://github.com/angular/material2/wiki/Team-git----bash-shortcuts). -5. From the root of the project, run `npm install`. +5. From the root of the project, run `yarn`. To build Material in dev mode, run `gulp material:build`. To build Material in release mode, run `gulp material:build-release` - -To bring up a local server, run `gulp serve:devapp`. This will automatically watch for changes + +To bring up a local server, run `gulp serve:devapp`. This will automatically watch for changes and rebuild. The browser should refresh automatically when changes are made. ### Running tests