/news

Polymer News (Progress Web App Template)

Primary LanguageHTML

NEWS

Prerequisites

Polymer CLI

Install polymer-cli: (Need at least npm v0.3.0)

npm install -g polymer-cli

Google App Engine SDK

Install Google App Engine SDK

Setup

git clone https://github.com/polymer/news.git
cd news
bower install

Start the development server

dev_appserver.py .

Build

polymer build

Test the 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

Deploy to Google App Engine

gcloud app deploy build/bundled/app.yaml --project [YOUR_PROJECT_ID]