Experiments on switching Polymer 1.x elements on runtime
You need to locally trust the SSL certificates in this project:
- You can find the certificates in
/ssl
folder. - Open up Keychain Access. You can get to it from
Application/Utilities/Keychain Access.app
. - Drag your certificate into Keychain Access.
- Go into the Certificates section and locate the certificate you just added
- Double click on it, enter the trust section and under "When using this certificate" select "Always Trust".
npm install
The element is polymer-elem-switch.html
in the root directory of this project.
npm run start-dev
and visit: https://localhost:5055
Ensure you have the latest Firefox installed, then:
npm test
Unit tests are currently only run on Firefox due to a Chrome issue.
You can also run tests in any browser by visiting https://localhost:5055/test while $ npm run start-dev
is running.
The test results are in the browser console.
This element is set up to be deployed on Heroku.
Just create a Heroku app using the NodeJS buildpack, connect Github deployment
and make sure that Heroku runs the $ npm start
script.
MIT