Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 985 Bytes

DEV_ENVIRONMENT.md

File metadata and controls

22 lines (16 loc) · 985 Bytes

Developer guide: getting your environment set up

  1. Make sure you have node installed with a version at least 4.2.3.
  2. Run npm install -g angular-cli to install the Angular CLI.
  3. Fork the angular/material2 repo.
  4. Clone your fork. Recommendation: name your git remotes upstream for angular/material2 and <your-username> for your fork. Also see the team git shortcuts.
  5. From the root of the project, run npm install

To build the project, run ng build. To watch for changes and automatically rebuild, run ng build --watch

To bring up a local server, run ng serve. This will automatically watch for changes and rebuild. After the changes rebuild, the browser currently needs to be manually refreshed.

To run unit tests, run ng test.

Running e2e tests: Running benchmarks: Running screenshot diff tests: