Skip to content

Commit 5905ea5

Browse files
committed
add docs
1 parent 8fc7b6b commit 5905ea5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/source/configuration.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@ The python-mapswipe workers use a bunch of services provided by Google Cloud Pla
2020
* set API restrictions > Restrict Key > Identity Toolkit API and Cloud Functions API
2121
4. Also make sure to configure the API keys for the App side here.
2222

23+
Then set up a Service Account Key file:
24+
1. Open [Google Cloud Service Accounts](https://console.cloud.google.com/iam-admin/serviceaccounts)
25+
2. Create a new Service Account Key file:
26+
* set name (e.g. *dev-mapswipe-workers*)
27+
* add roles, (e.g. `Storage Admin` and `Firebase Admin`) or use pre-defined role instead (e.g. `Custom Firebase Developer`)
28+
3. Download Key as file:
29+
* select `.json` and save
30+
2331
## Firebase
2432
Firebase is a central part of MapSwipe. In our setup we use *Firebase Database*, *Firebase Database Rules* and *Firebase Functions*. In the documentation we will refer to two elements:
2533
1. `your_project_id`: This is the name of your Firebase project (e.g. *dev-mapswipe*)

0 commit comments

Comments
 (0)