• This repository has been archived on 29/May/2019
  • Stars
    star
    1,022
  • Rank 45,039 (Top 0.9 %)
  • Language
    HTML
  • Created almost 12 years ago
  • Updated almost 6 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,033
star
2

polymer-starter-kit

A starting point for Polymer apps
JavaScript
2,457
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,196
star
5

shop

The Shop app
JavaScript
990
star
6

designer

Polymer Designer Tool
JavaScript
839
star
7

web-component-tester

Moved to Polymer/tools monorepo
TypeScript
566
star
8

polymer-cli

Moved to Polymer/tools monorepo
JavaScript
498
star
9

pwa-helpers

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

tools

Polymer Tools Monorepo
TypeScript
430
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
263
star
13

polycasts

HTML
220
star
14

polyserve

Moved to Polymer/tools monorepo
TypeScript
192
star
15

polymer-analyzer

Moved to Polymer/tools monorepo
TypeScript
159
star
16

hn-polymer-2

Polymer Hacker News clone
HTML
158
star
17

polymer-modulizer

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

polymer-build

Moved to Polymer/tools monorepo
TypeScript
103
star
19

polymer-decorators

TypeScript decorators for Polymer.
TypeScript
93
star
20

polymer-editor-service

Moved to Polymer/tools monorepo
TypeScript
76
star
21

vscode-plugin

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

pwa-starter-kit-hn

TypeScript
70
star
23

lazy-imports

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

polymer-css-build

JavaScript
40
star
25

polymer-linter

Moved to Polymer/tools monorepo
TypeScript
34
star
26

atom-plugin

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

polymer-library-docs

Polymer library documentation site.
HTML
23
star
28

gen-typescript-declarations

Moved to Polymer/tools monorepo
TypeScript
21
star
29

wct-local

Moved to Polymer/tools monorepo
TypeScript
21
star
30

dom5

TypeScript
19
star
31

polymer-resin

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

wct-sauce

Moved to Polymer/tools monorepo
JavaScript
17
star
33

polymer-project.org

Polymer Project site & blog.
HTML
15
star
34

koa-node-resolve

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

browser-capabilities

Moved to Polymer/tools monorepo
TypeScript
14
star
36

tattoo

Test All The Things Over and Over
TypeScript
12
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
10
star
38

polymer-project-config

Moved to Polymer/tools monorepo
JavaScript
8
star
39

css-select-parse5-adapter

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

polymer-workspaces

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

polymer.github.io

HTML
7
star
42

tools-sample-projects

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

ar-logo

JavaScript
7
star
44

tools-common

Moved to Polymer/tools monorepo
JavaScript
6
star
45

benchmarks

Benchmarks for Polymer project libraries
JavaScript
6
star
46

plylog

A logger for the Polymer CLI toolchain
TypeScript
4
star
47

elements

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

koa-karma-proxy

Simplified coordination of karma and upstream proxy server using the koa web framework.
TypeScript
4
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.
3
star
50

.allstar

2
star
51

tools-team

Issues for tools in general
2
star
52

polygit

Polygit
TypeScript
1
star
53

.github

1
star