Guess a number
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your application locally.
$ polymer serve
$ polymer build
This will create builds of your application in the build/
directory, optimized to be served in production. You can then serve the built versions by giving polymer serve
a folder to serve from:
$ polymer serve build/default
Note: you need a recent version of Java SE installed on your machine to run the end to end tests.
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.
Warning: a specific account has been setup to deploy to Firebase hosting. You will need to change the configuration of .firebaserc
to point to your own Firebase account.
Note: it's necessary to build first because it's the build/default directory that will be published to Firebase, according to the rules set out in the configuration file firebase.json
$ polymer build
$ firebase deploy
Navigate to https://which-number.firebaseapp.com/
During development, the src files are used instead of the generated ones from build/default.
polymer serve
Fork the repository on Github, create a branch with a name representative of what you are improving or fixing in the code and raise a pull request to be merged back to the develop branch of this repository.