https://github.com/jakehartnell/test-thing
A hardwareless example of a webcomponent thing.
https://github.com/jakehartnell/test-thing
Last synced: 4 months ago
JSON representation
A hardwareless example of a webcomponent thing.
- Host: GitHub
- URL: https://github.com/jakehartnell/test-thing
- Owner: JakeHartnell
- License: bsd-2-clause
- Created: 2016-10-14T19:00:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-23T02:01:25.000Z (over 9 years ago)
- Last Synced: 2025-07-19T15:52:06.247Z (11 months ago)
- Language: HTML
- Size: 2.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# \
An example of how to build a thing for Grow-IoT
## 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 a `build/` folder with `bundled/` and `unbundled/` sub-folders
containing a bundled (Vulcanized) and unbundled builds, both run through HTML,
CSS, and JS optimizers.
You can serve the built versions by giving `polymer serve` a folder to serve
from:
```
$ polymer serve build/bundled
```
## 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.