https://github.com/codercatdev/polymerfire-sample
https://github.com/codercatdev/polymerfire-sample
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codercatdev/polymerfire-sample
- Owner: codercatdev
- Created: 2017-10-26T06:32:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T06:55:21.000Z (over 8 years ago)
- Last Synced: 2025-09-15T20:55:39.478Z (9 months ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# \
Using polymerfire
## 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
Notice if it runs on 127.0.0.1 this should show error, then run localhost and you should get login redirect.
```
$ 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.
## Firebase
Make sure to read
https://github.com/Polymer/polymer-cli/issues/701
After running build you can use the following locally
```
firebase serve
```