mirror of
https://github.com/jlengrand/polymer-summit-whose-flag.git
synced 2026-03-10 08:41:25 +00:00
34 lines
841 B
Markdown
34 lines
841 B
Markdown
# \<whose-flag\>
|
|
|
|
A simple game that lets users guess a flag's country
|
|
|
|
## Install the Polymer-CLI
|
|
|
|
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your application locally.
|
|
|
|
## Viewing Your Application
|
|
|
|
```
|
|
$ polymer serve
|
|
```
|
|
|
|
## Building Your Application
|
|
|
|
```
|
|
$ 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
|
|
```
|
|
|
|
## Running Tests
|
|
|
|
```
|
|
$ polymer test
|
|
```
|
|
|
|
Your application is already set up to be tested via [web-component-tester](https://github.com/Polymer/web-component-tester). Run `polymer test` to run your application's test suite locally.
|