Please also refer to the main contributing guide.
Install the gcloud SDK from https://cloud.google.com/sdk/downloads#versioned
Configure your project and authentication
gcloud auth login whoeveryouare@gmail.com
gcloud config set project custom-elements-stagingMake sure the subscriptions and topics are setup
rebuild-pubsub.sh [custom-elements, custom-elements-staging]Make sure you have node and npm (and, optionally, yarn) installed and then run npm start. Analysis will run in debug mode, with the response JSON output to the console.
npm install
npm startTo send a local analysis request, you can use curl (the last param - commit sha - is optional)...
curl -i "localhost:8080/task/analyze/PolymerElements/paper-dialog-behavior/v1.2.7/eacabc02ab06e03f17d26e0b777b102bdc2ed556" -H "x-appengine-queuename:analysis"First deploy to the staging server.
gcloud --project custom-elements-staging app deploy analysis.yamlDelete and reinstall paper-progress and then view the element to verify that analysis is still working correctly.
https://manage-dot-custom-elements-staging.appspot.com/manage/delete/polymerelements/paper-progress
https://manage-dot-custom-elements-staging.appspot.com/manage/add/polymerelements/paper-progress
https://custom-elements-staging.appspot.com/element/PolymerElements/paper-progressCheck that the API documentation is present and contains the API reference. Check that the inline demo appears and works correctly. Check that the popup demo appears and works correctly.
If the change requires a re-analysis of all elements.
https://manage-dot-custom-elements-staging.appspot.com/manage/analyze-allWhen satisfied with the staging deployment, deploy to production.
gcloud --project custom-elements app deploy analysis.yaml