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: README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,10 @@ SCHEMATIC is an acronym for _Schema Engine for Manifest Ingress and Curation_. T
20
20
21
21
# Installation
22
22
## Installation Requirements
23
-
* Python version 3.9.0≤x<3.11.0
23
+
* Python version 3.9.0≤x<3.11.0
24
+
* You need to be a registered and certified user on [`synapse.org`](https://www.synapse.org/)
24
25
25
-
Note: You need to be a registered and certified user on [`synapse.org`](https://www.synapse.org/), and also have the right permissions to download the Google credentials files from Synapse.
26
+
Note: Our credential policy for Google credentials in order to create Google sheet files from Schematic, see tutorial ['HERE'](https://scribehow.com/shared/Get_Credentials_for_Google_Drive_and_Google_Sheets_APIs_to_use_with_schematicpy__yqfcJz_rQVeyTcg0KQCINA). If you plan to use `config.yml`, please ensure that the path of `schematic_service_account_creds.json` is indicated there (see `google_sheets > service_account_creds` section)
26
27
27
28
28
29
## Installation guide for data curator app
@@ -169,13 +170,10 @@ On the CLI in your virtual environment, run the following command:
Please make sure that you run the command before running `schematic init` below
173
173
174
174
7. Obtain Google credential Files
175
-
To obtain ``schematic_service_account_creds.json``, please run:
176
-
```
177
-
schematic init --config ~/path/to/config.yml
178
-
```
175
+
Running `schematic init` is no longer supported due to security concerns. To obtain `schematic_service_account_creds.json`, please follow the instructions [here](https://scribehow.com/shared/Enable_Google_Drive_and_Google_Sheets_APIs_for_project__yqfcJz_rQVeyTcg0KQCINA).
176
+
179
177
> As v22.12.1 version of schematic, using `token` mode of authentication (in other words, using `token.pickle` and `credentials.json`) is no longer supported due to Google's decision to move away from using OAuth out-of-band (OOB) flow. Click [here](https://developers.google.com/identity/protocols/oauth2/resources/oob-migration) to learn more.
180
178
181
179
*Notes*: Use the ``schematic_service_account_creds.json`` file for the service
@@ -189,6 +187,13 @@ Most Google sheet functionality could be authenticated with service account. How
189
187
requires token-based authentication. As browser support that requires the token-based authentication diminishes, we are hoping to deprecate
190
188
token-based authentication and keep only service account authentication in the future.
191
189
190
+
8. Set up pre-commit hooks
191
+
192
+
This repository is configured to utilize pre-commit hooks as part of the development process. To enable these hooks, please run the following command and look for the following success message:
0 commit comments