https://github.com/serradura/firebase-ui-on-rails
A Ruby on Rails version of FirebaseUI for web - Auth Demo
https://github.com/serradura/firebase-ui-on-rails
Last synced: 6 months ago
JSON representation
A Ruby on Rails version of FirebaseUI for web - Auth Demo
- Host: GitHub
- URL: https://github.com/serradura/firebase-ui-on-rails
- Owner: serradura
- Created: 2016-10-26T21:13:51.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-07T17:37:43.000Z (almost 9 years ago)
- Last Synced: 2025-02-17T21:07:50.528Z (8 months ago)
- Language: Ruby
- Homepage: https://firebase-ui-on-rails.herokuapp.com/
- Size: 99.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Firebase UI on Rails
This project is the Ruby on Rails version of [Firebaseui-web demo](https://github.com/firebase/firebaseui-web/tree/master/examples/demo).
* FirebaseUI Web version
```
0.5
```* Ruby version
```
>= 2.2.2
```* Rails version
```
~> 5.0.0
```* Configuration
```
# Create a Firebase app
https://firebase.google.com/docs/web/setup# Create a `.env` file and set up your firebase app configurations.
cp sample.env .env
```* Deployment instructions (Heroku)
0. [Create](https://firebase.google.com/docs/web/setup) a Firebase App
1. Clone this repo and create a heroku app to it.
1. `git clone` `https://github.com/serradura/firebase-ui-on-rails`
2. `cd firebase-ui-on-rails`
3. `heroku create`2. Set all environment variables.
`heroku config:set FIREBASE_API_KEY="YOURAPPAPIKEY" FIREBASE_AUTH_DOMAIN="your-app.firebaseapp.com" FIREBASE_DATABASE_URL="https://your-app.firebaseio.com" FIREBASE_STORAGE_BUCKET="your-app.appspot.com" FIREBASE_MESSAGING_SENDER_ID="9999999999"`
3. Deploy to heroku:
`git push heroku master`4. Open the application URL.
You can see it using the command: `heroku info`