From ed950ddcdc2f51a7310c772d1e6f2711cb33f936 Mon Sep 17 00:00:00 2001 From: Adam Leskis Date: Tue, 6 Jul 2021 13:34:04 +0100 Subject: [PATCH] add information on setting up firebase to the readme I had to think a bit about what values to put in the .env file, and once I figured it out, I thought it would be helpful to add that information explicitly in the readme so other developers could speed up local development. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0856d4a9..345d9e07 100644 --- a/README.md +++ b/README.md @@ -100,6 +100,10 @@ npm install 3. Create a `.env` file and fill it with your Firebase credentials +You can get these by setting up a firebase web app [here](https://console.firebase.google.com/u/0/). + +Also note that you'll need to set up a Realtime Database, *not* a Firestore Database, to get the correct value for `FIREBASE_DATABASEURL`. Be sure to set it to test mode so you can read/write data. Just remember to either revert these or remove the database after your testing is completed. + ``` FIREBASE_APIKEY="" FIREBASE_APPID=""