PolymerLabs/news-docs

Name: news-docs

Owner: PolymerLabs

Description: Polymer News documentation

Created: 2016-12-09 19:03:33.0

Updated: 2018-01-17 00:51:12.0

Pushed: 2017-02-14 20:03:10.0

Homepage: https://news-docs.polymer-project.org

Size: 13848

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

NEWS DOCS

Setup
Prerequisites

Install polymer-cli:

npm install -g polymer-cli
Setup
git clone https://github.com/polymer/news-docs.git
cd news-docs
npm install
bower install
Running the site

Run gulp to convert markdown files to html:

gulp

Then start the development server:

polymer serve

All the markdown files are in docs/ folder. If you make any changes to docs/*.md you have to run gulp again to generate the pages.

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:

polymer serve build/unbundled

This command serves the minified version of the app generated using fragment bundling:

polymer serve build/bundled
Deploy to Google App Engine

Install Google App Engine SDK

Test locally
dev_appserver.py build/bundled
Deploy
gcloud app deploy build/bundled/app.yaml --project [YOUR_PROJECT_ID]

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.