Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marckrenn authored Nov 11, 2016
1 parent a749375 commit 1062499
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ I'd also like to recommend reading [*Supercharge your Framer prototype with Fire
| **2** | Put `firebase.coffee` into your prototype's `modules`-folder or *drag'n'drop* it onto the Framer window |
| **3** | Add or change the autogenerated `require`-line to `{Firebase} = require 'firebase'` |
| **4** | Reload (*CMD+R*) or save (*CMD+S*) your project to get Framer to load the module |
| **-!-** | Or start by using this [template file](http://share.framerjs.com/ezo9gq7xju3z/) |
| **-!-** | Or start by using this [template file](http://share.framerjs.com/ltqk90uuqym2/) |
| **5** | Go to https://firebase.google.com*Login**Console**Create New Project* |
| **6** | Back in Framer, add `firebase = new Firebase` and set the required [Class Properties](https://github.com/marckrenn/framer-Firebase#1-properties) |
| **7** | Save, load and sync data using the available [Class Methods](https://github.com/marckrenn/framer-Firebase#2-methods). Also, check out the [Demo Projects](https://github.com/marckrenn/framer-Firebase#demo-projects). |
Expand Down Expand Up @@ -101,13 +101,13 @@ The required information is located at https://firebase.google.com → *Console*
```coffee
firebase = new Firebase
projectID: ___________ # 1) ... Database → first part of URL
secret: ______________ # 2) ... Project Settings → Database → Database Secrets
secret: ______________ # 2) ... Project Settings → Service Accounts → Database Secrets → Show (mouse-over)
```


| 1) projectID | 2) secret |
| :---: | :---: |
| ![gif for ants I](http://i.giphy.com/xT4uQFz8q6HAHKkfi8.gif) | ![gif for ants II](http://i.giphy.com/l3E6oeWMBJMc9Sk7u.gif) |
| ![gif for ants I](http://i.giphy.com/xT4uQFz8q6HAHKkfi8.gif) | ![gif for ants II](http://i.giphy.com/3o6ZtnLC6wkxSZLY0U.gif) |

> **Protip:** Contrary to what I did in the gif, I advise you **NOT** to share your Firebase *secret* publicly, as it allow others to alter the data stored in your database. If you do so by accident, you can always revoke access by deleting the shared *secret* and creating a new one at https://firebase.google.com*Console**Project Settings**Database**Database Secrets*.
Expand Down

0 comments on commit 1062499

Please sign in to comment.