From 747fbe57e403c16ee9c2af31fba19d8c48439dbf Mon Sep 17 00:00:00 2001 From: Jan Miksovsky Date: Thu, 23 Jun 2016 11:16:56 -0700 Subject: [PATCH] Add instructions for running component demos and tests locally --- CONTRIBUTING.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 83a9f99..ca88068 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -37,6 +37,15 @@ Polymer Elements are built in the open, and the Polymer authors eagerly encourag 3. **A list of browsers where the problem occurs.** This can be skipped if the problem is the same across all browsers. +### Running component demos and tests locally + +You will need the [Polymer command-line interface](https://www.polymer-project.org/1.0/docs/tools/polymer-cli). + + 1. Clone the desired PolymerElements component repo. + 2. Install the component's dependencies: `bower install`. + 3. To run the component's demo: `polymer serve --open`. + 4. To run the component's tests: `polymer test`. + ### Submitting Pull Requests **Before creating a pull request**, please ensure that an issue exists for the corresponding change in the pull request that you intend to make. **If an issue does not exist, please create one per the guidelines above**. The goal is to discuss the design and necessity of the proposed change with Polymer authors and community before diving into a pull request.