HTML Python JavaScript Shell
Latest commit 6299b1a Jan 19, 2017 @samuelli samuelli committed with dstockwell Add filter by author (#811)
Permalink
Failed to load latest commit information.
analysis Add polymer analyzer to analysis. (#756) Jan 6, 2017
client Add filter by author (#811) Jan 19, 2017
src Add support for pre-release tags (#798) Jan 17, 2017
.eslintignore Do not lint analytics element (#57) Aug 12, 2016
.gitignore Add support for multiple analytics keys Aug 12, 2016
.travis.yml Fix build (#694) Dec 9, 2016
API.md Replace all beta.* with www.* (#771) Jan 10, 2017
CONTRIBUTING.md Contributing guidelines Jul 13, 2016
Gruntfile.js Basic on demand form (#85) Aug 24, 2016
LICENSE Initial commit Jun 30, 2016
README.md Fix logo in README.md (#777) Jan 11, 2017
api.yaml api, manage and user-content should be secure (#208) Sep 22, 2016
appengine_config.py Add appengine_config Jul 22, 2016
cron.yaml Series of small fixes (#433) Oct 11, 2016
custom-elements-staging-af6bde73b1eb.json.enc Continuous deployment (#63) Aug 17, 2016
dispatch.yaml Enable redirect on beta.webcomponents.org (#769) Jan 10, 2017
inline-demo.html Id can be 0 (#742) Dec 19, 2016
manage.yaml api, manage and user-content should be secure (#208) Sep 22, 2016
package.json Roll codemirror via npm not bower (#548) Oct 23, 2016
pylintrc Ensure search index is ordered (#739) Dec 19, 2016
queue.yaml Don't clear existing analysis data before reanalyzing. Add analysis q… Dec 5, 2016
redirect.yaml Unregister service workers on stale domains (#774) Jan 10, 2017
requirements.txt Add colorized python test runner (#633) Nov 7, 2016
service-worker-unregister.js Unregister service workers on stale domains (#774) Jan 10, 2017
tests.py Add colorized python test runner (#633) Nov 7, 2016
user-content.yaml api, manage and user-content should be secure (#208) Sep 22, 2016
wct.conf.json Disable Chrome Beta testing on Windows 10 (#131) Sep 14, 2016
yarn.lock Various mobile fixes (#584) Oct 31, 2016

README.md

webcomponents.org

webcomponents.org


The webcomponents.org site.

It consists of multiple Appengine services and requires gcloud for most development.

At a high-level, the services are

  • Manage, a Python service dealing with ingestion and management of ingested data from Bower, Github and Analysis.
  • Api, a Python service providing a REST api used by Client to access data from Manage.
  • Client, a Polymer web app that provides the user interface and consumes data from Api.
  • Analysis, a node.js service that performs slower analysis on ingested elements, using Bower and Hydrolysis.

System-level dependencies

The following dependencies are required to develop, test and/or deploy www.webcomponents.org

Dependencies

npm install

Alternatively, you can use yarn for faster builds:

yarn

Client & analysis

For instructions, view their sub-directories client/ and analysis/.

Running tests

python tests.py $APPENGINE_SDK

Deployment

To increase Github API quota, acqure a Github token and store it:

cat > secrets.yaml
github_token: 'your-github-token'

If you would like to use reCAPTCHA, obtain a token and store it:

cat > secrets.yaml
recaptcha: 'your-token'

Deploy to staging.

grunt lint #lints both client and python
appcfg.py update_dispatch dispatch.yaml
appcfg.py update manage.yaml
appcfg.py update api.yaml

Deploy client & analysis per their documentation.