news-docs
所属分类:collect
开发工具:HTML
文件大小:0KB
下载次数:0
上传日期:2017-02-14 20:03:10
上 传 者:
sh-1993
说明: 聚合物新闻文档,
(Polymer News documentation,)
文件列表:
app.yaml (627, 2017-02-14)
bower.json (607, 2017-02-14)
docs/ (0, 2017-02-14)
docs/app structure.jpg (10459, 2017-02-14)
docs/app-border-style-1.jpg (11616, 2017-02-14)
docs/app-border-style.jpg (11325, 2017-02-14)
docs/app-cover-text-color-1.jpg (11473, 2017-02-14)
docs/app-cover-text-color.jpg (11513, 2017-02-14)
docs/app-nav-background-color-1.jpg (7429, 2017-02-14)
docs/app-nav-background-color.jpg (7456, 2017-02-14)
docs/app-nav-deselected-text-color-1.jpg (11987, 2017-02-14)
docs/app-nav-deselected-text-color.jpg (11340, 2017-02-14)
docs/app-nav-selected-background-color-1.jpg (4443, 2017-02-14)
docs/app-nav-selected-background-color.jpg (4879, 2017-02-14)
docs/app-structure.png (9177, 2017-02-14)
docs/app-transparent-border-style-1.jpg (15736, 2017-02-14)
docs/app-transparent-border-style.jpg (11478, 2017-02-14)
docs/case-study.md (10810, 2017-02-14)
docs/categories.md (3661, 2017-02-14)
docs/data binding.jpg (24524, 2017-02-14)
docs/data-binding.png (45716, 2017-02-14)
docs/image_0.jpg (330510, 2017-02-14)
docs/image_01.jpg (279154, 2017-02-14)
docs/image_1.jpg (12302, 2017-02-14)
docs/image_10.jpg (177441, 2017-02-14)
docs/image_11.jpg (223881, 2017-02-14)
docs/image_12.jpg (76366, 2017-02-14)
docs/image_13.jpg (76446, 2017-02-14)
docs/image_2.jpg (337831, 2017-02-14)
docs/image_3.jpg (50832, 2017-02-14)
docs/image_4.jpg (156486, 2017-02-14)
docs/image_5.jpg (303090, 2017-02-14)
docs/image_6.jpg (9594, 2017-02-14)
docs/image_7.jpg (155013, 2017-02-14)
docs/image_8.jpg (8670, 2017-02-14)
docs/image_9.jpg (177314, 2017-02-14)
docs/it-takes-teacher.png (33567, 2017-02-14)
docs/news-article.jpg (34008, 2017-02-14)
... ...
# NEWS DOCS
### Setup
##### Prerequisites
Install [polymer-cli](https://github.com/Polymer/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](https://cloud.google.com/appengine/downloads)
#### Test locally
dev_appserver.py build/bundled
#### Deploy
gcloud app deploy build/bundled/app.yaml --project [YOUR_PROJECT_ID]
近期下载者:
相关文件:
收藏者: