Install polymer-cli: (Need at least npm v0.3.0)
npm install -g polymer-cli
Install Google App Engine SDK
git clone https://github.com/polymer/news.git
cd news
bower install
dev_appserver.py .
polymer build
This command serves the minified version of the app in an unbundled state, as it would be served by a push-compatible server:
dev_appserver.py build/unbundled
This command serves the minified version of the app generated using fragment bundling:
dev_appserver.py build/bundled
gcloud app deploy build/bundled/app.yaml --project [YOUR_PROJECT_ID]