My little personal website built with Polymer.
Deployed in Firebase with Travis CI.
Install Polymer CLI using npm (we assume you have pre-installed node.js).
npm install -g polymer-cli
Install dependencies:
npm install && bower install
This command serves the app at http://localhost:8080
and provides basic URL
routing for the app:
polymer serve
npm run build
This will create a build/
folder with bundled/
and unbundled/
sub-folders
containing a bundled (vulcanized) and unbundled builds, both run through HTML,
CSS, and JS optimizers.
The included gulpfile.js
relies on the polymer-build
library,
the same library that powers Polymer CLI. Follow the comments in the
gulpfile.js
to add additional steps.
You can serve the built versions by giving polymer serve
a folder to serve
from:
polymer serve build/bundled
This command will run Web Component Tester against the browsers currently installed on your machine:
polymer test