Please also refer to the main contributing guide.
Running the client requires Google App Engine, which can be installed using the Google Cloud SDK.
Once you have the Cloud SDK installed, install App Engine for Python by running:
gcloud components install app-engine-pythonAltenatively, you may install the App Engine SDK for Python directly.
cd client && npm installUsing yarn:
cd client && yarnRun using either of these commands:
npm run client
dev_appserver.py client/client.yamlRunning locally will use the production API server. To override the backend instance set the instance parameter:
localhost:8080/element/PolymerElements/app-layout?instance=custom-elements-staging.appspot.com
wct --skip-plugin sauceAfter a PR is merged for a client change, staging is automatically updated by travis on a successful build.
cd client
npm run build
gcloud app deploy --no-promote build/client.yaml