You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/configuration.md
+2-8Lines changed: 2 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,7 @@ Firebase is a central part of MapSwipe. In our setup we use *Firebase Database*,
33
33
1.`your_project_id`: This is the name of your Firebase project (e.g. *dev-mapswipe*)
34
34
2.`your_database_name`: This is the name of your Firebase database. It is very likely that this will be the same as your Firebase project name as well.)
35
35
36
-
The `mapswipe_workers` module uses the [Firebase Python SDK](https://firebase.google.com/docs/reference/admin/python) to access *Firebase Database* services as administrator, you must generate a Firebase Service Account Key in JSON format. You can get it from Firebase.
37
-
1. In the Firebase console, open Settings > Service Accounts.
38
-
2. Click Generate New Private Key
39
-
3. Store the JSON file under `mapswipe_workers/config/serviceAccountKey.json`
36
+
The `mapswipe_workers` module uses the [Firebase Python SDK](https://firebase.google.com/docs/reference/admin/python) to access *Firebase Database* services as administrator, you must generate a Service Account Key file in JSON format. For this we use the previously generated Service Account Key. (Check the *Google APIs and Services Credentials* section again if you don't have it.) Copy the file to `mapswipe_workers/config/serviceAccountKey.json`.
40
37
41
38
The `mapswipe_workers` module further uses the [Firebase Database REST API](https://firebase.google.com/docs/reference/rest/database) to access *Firebase Database* either as a normal user or project manager.
42
39
@@ -98,10 +95,7 @@ First, create a new cloud storage bucket:
Then, generate a Google Cloud Service Account Key:
102
-
1. Google Cloud Platform > IAM & Management > Service Accounts
103
-
2. Create new Service Account > Select Name > e.g. `your_project_id_postgres_backup`
104
-
3. Select Role > `Storage-Administrator`
98
+
We need to access Google Cloud Storage. For this we use the previously generated Service Account Key. (Check the *Google APIs and Services Credentials* section again if you don't have it.) Copy the file to `postges/serviceAccountKey.json`.
0 commit comments