• This repository has been archived on 29/May/2019
  • Stars
    star
    1,023
  • Rank 43,545 (Top 0.9 %)
  • Language
    HTML
  • Created over 11 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Old Polymer site. Replaced by these repos: polymer-project.org, polymer-library-docs

Old Polymer documentation site

This site has been replaced by the following sites:

Install

The documentation site runs in Google App Engine, using the App Engine Python standard environment. Before you start you'll need the following prerequisites:

  • Python 2.7

  • Google Cloud SDK

  • App Engine Python standard environment. Ensure this is installed by running the following command:

    gcloud components install app-engine-python
    

    Or, if you installed via apt:

    sudo apt-get install google-cloud-sdk-app-engine-python
    

Set up your repo:

git clone https://github.com/Polymer/docs 
cd docs
npm install

Running the site

The first time you run the site, run gulp to build the site in its entirety:

gulp

Then start the App Engine dev server on dist/app.yaml:

dev_appserver.py dist/

The site will be served from http://localhost:8080.

Making changes / watching files / live reload

If you're making changes use the watch task. Optionally add --reload to live reload the tab when changes are saved.

gulp watch --reload

The site will be served on http://localhost:3000. Making changes will refresh the browser tab.

Optional flags:

  • --reload: refreshes the browser tab when changes are made
  • --open: opens a new browser tab when gulp watch is started

Tip - run gulp help to see the list of available gulp tasks.

Run tests

Install WebTest framework:

pip install WebTest

Then run:

npm test

If your Google Cloud SDK isn't installed in ~/google-cloud-sdk, set the CLOUD_SDK environment variable to the path to the Cloud SDK:

export CLOUD_SDK=~/cloud/google-cloud-sdk

Deployment

Build and deploy version YYY-MM-DD of the site:

gulp
npm run deploy YYYY-MM-DD

More Repositories

1

polymer

Our original Web Component library.
HTML
22,042
star
2

polymer-starter-kit

A starting point for Polymer apps
JavaScript
2,455
star
3

pwa-starter-kit

Starter templates for building full-featured Progressive Web Apps from web components.
JavaScript
2,367
star
4

polymer-bundler

Moved to Polymer/tools monorepo
TypeScript
1,197
star
5

shop

The Shop app
JavaScript
983
star
6

designer

Polymer Designer Tool
JavaScript
838
star
7

web-component-tester

Moved to Polymer/tools monorepo
TypeScript
566
star
8

polymer-cli

Moved to Polymer/tools monorepo
JavaScript
501
star
9

pwa-helpers

Small helper methods or mixins to help you build web apps.
TypeScript
437
star
10

tools

Polymer Tools Monorepo
TypeScript
428
star
11

prpl-server

⚠️Maintenance mode⚠️ An HTTP server for Node designed to serve PRPL apps in production.
TypeScript
425
star
12

news

Polymer News (Progress Web App Template)
HTML
262
star
13

polycasts

HTML
219
star
14

polyserve

Moved to Polymer/tools monorepo
TypeScript
191
star
15

polymer-analyzer

Moved to Polymer/tools monorepo
TypeScript
158
star
16

hn-polymer-2

Polymer Hacker News clone
HTML
157
star
17

polymer-modulizer

Moved to https://github.com/Polymer/tools/tree/master/packages/modulizer
HTML
142
star
18

polymer-build

Moved to Polymer/tools monorepo
TypeScript
103
star
19

polymer-decorators

TypeScript decorators for Polymer.
TypeScript
92
star
20

vscode-plugin

Provides autocompletion, linting, and more for web components.
TypeScript
74
star
21

polymer-editor-service

Moved to Polymer/tools monorepo
TypeScript
74
star
22

pwa-starter-kit-hn

TypeScript
68
star
23

lazy-imports

Declarative lazy HTML imports as a behavior.
HTML
62
star
24

polymer-css-build

JavaScript
38
star
25

polymer-linter

Moved to Polymer/tools monorepo
TypeScript
33
star
26

atom-plugin

Provides autocompletion, linting, and more for web components.
JavaScript
31
star
27

polymer-library-docs

Polymer library documentation site.
HTML
22
star
28

gen-typescript-declarations

Moved to Polymer/tools monorepo
TypeScript
20
star
29

wct-local

Moved to Polymer/tools monorepo
TypeScript
20
star
30

dom5

TypeScript
18
star
31

polymer-resin

XSS mitigation for Polymer webcomponents that uses safe html type contracts
JavaScript
17
star
32

wct-sauce

Moved to Polymer/tools monorepo
JavaScript
16
star
33

polymer-project.org

Polymer Project site & blog.
HTML
14
star
34

koa-node-resolve

Koa middleware that transforms Node package specifiers to relative paths
TypeScript
14
star
35

browser-capabilities

Moved to Polymer/tools monorepo
TypeScript
13
star
36

tattoo

Test All The Things Over and Over
TypeScript
11
star
37

koa-esm-transform

Middleware for Koa servers that transforms standard JavaScript modules to AMD modules for use with older browsers that don't support modules natively.
TypeScript
9
star
38

css-select-parse5-adapter

An adapter for the css-select package to allow querying of parse5 generated trees.
TypeScript
7
star
39

polymer-project-config

Moved to Polymer/tools monorepo
JavaScript
7
star
40

polymer-workspaces

Moved to https://github.com/Polymer/tools/tree/master/packages/workspaces
TypeScript
7
star
41

polymer.github.io

HTML
6
star
42

tools-sample-projects

Sample projects that Polymer tools should handle.
HTML
6
star
43

ar-logo

JavaScript
6
star
44

tools-common

Moved to Polymer/tools monorepo
JavaScript
5
star
45

benchmarks

Benchmarks for Polymer project libraries
JavaScript
5
star
46

plylog

A logger for the Polymer CLI toolchain
TypeScript
3
star
47

elements

A collection of elements made by the Polymer team
3
star
48

koa-karma-proxy

Simplified coordination of karma and upstream proxy server using the koa web framework.
TypeScript
3
star
49

mocha-suite-child

Runs mocha test suites defined in HTML documents and include the results as if they are part of the main context.
2
star
50

polygit

Polygit
TypeScript
1
star
51

.allstar

1
star
52

tools-team

Issues for tools in general
1
star
53

.github

1
star