https://github.com/derlin/polymer-quotes
A little progressive app to test the polymer library.
https://github.com/derlin/polymer-quotes
Last synced: 4 months ago
JSON representation
A little progressive app to test the polymer library.
- Host: GitHub
- URL: https://github.com/derlin/polymer-quotes
- Owner: derlin
- Created: 2016-09-07T13:58:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T06:23:15.000Z (over 8 years ago)
- Last Synced: 2025-06-05T22:06:14.887Z (12 months ago)
- Language: HTML
- Size: 28.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# \
Store your quotes on firebase: [https://derlin-quotes.firebaseapp.com](https://derlin-quotes.firebaseapp.com)
This is a simple PWA (_Progressive Web App_) built with Polymer. It is integrated with firebase (using a Google authentication mecanism) and may be "installed" on the homescreen of an Android device.
# Setup
## Clone the repo
```
git clone https://github.com/derlin/polymer-quotes
cd polymer-quotes
```
## Install dependencies
The application uses `npm` and `bower`. To install everything, run:
```
npm install
bower install
```
## Link with firebase
Install firebase locally (use `-g` to install it system-wide):
```
npm install firebase-tools
```
Run the `init` command:
```
./node_modules/firebase-tools/bin/firebase init
```
It will ask you a lot of things. You need the following features (_Which Firebase CLI features do you want to setup for this folder?_):
* Database: Deploy Firebase Realtime Database Rules
* Hosting: Configure and deploy Firebase Hosting sites
Then, use the default options and answer NO to all _overwrite_ prompt.
# Run and deploy
## Run locally
This project uses _gulp_. Run locally for testing using:
```
gulp serve
```
## Deploy to Firebase
To deploy to firebase, run:
```
./node_modules/firebase-tools/bin/firebase deploy
```