Polymer/shop

Name: shop

Owner: polymer

Description: The Shop app

Created: 2016-05-16 16:26:56.0

Updated: 2018-01-15 07:45:12.0

Pushed: 2018-01-10 05:37:59.0

Homepage: https://shop.polymer-project.org/

Size: 7283

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SHOP

Prerequisites
Polymer CLI

Install polymer-cli:

npm install -g polymer-cli
Setup
# Using CLI
mkdir shop
cd shop
polymer init shop

# Or cloning direct from GitHub
git clone https://github.com/Polymer/shop.git
cd shop
bower install
Start the development server
polymer serve
Run web-component-tester tests
polymer test
Build

Build presets provide an easy way to define common build configurations in your polymer.json file. There are 3 build presets we put in polymer.json file in Shop:

es5-bundled

es6-unbundled

es6-bundled

Run the command to build the presets:

polymer build
Test the build

Use polymer serve to serve a specific build preset of the app. For example:

polymer serve build/es5-bundled
Deploying

Our production deployment of SHOP is hosted on App Engine with Node.js. You can examine its configuration on the app-engine-node branch of this repository and compare it with the master branch.


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.