Skip to content

Commit d1853f3

Browse files
authored
Merge branch 'master' into motif
2 parents 32d5a63 + 72eb261 commit d1853f3

File tree

3 files changed

+47
-27
lines changed

3 files changed

+47
-27
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ From the root directory, run:
3131
python src/python src/github_analysis/main.py -dp "/home/rayce/Assignments/Capstone/RStudio-Data-Repository/clean_data/commits_by_org.feather".py
3232
```
3333

34-
## Installation Instructions
35-
PLACEHOLDER
34+
## Installation instructions
35+
To get credentials file for GitHub Torrent Google Cloud (necessary for re-running the pipeline to generate images):
36+
37+
- Follow the instructions here to create and download a credentials file: https://developers.google.com/adwords/api/docs/guides/authentication#generate_oauth2_credentials
38+
- Change the name of the file to `credentials_file.json` and put it in the root directory of the project (a sample file with the same name is included as a reference).
39+
3640

3741
## Data Repository
3842
[RStudio-Data-Repository](https://github.com/UBC-MDS/RStudio-Data-Repository)

credentials_file.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"type": "INSERT_TYPE",
3+
"project_id": "INSERT_PROJECT_ID",
4+
"private_key_id": "INSERT_PRIVATE_KEY_ID",
5+
"private_key": "INSERT_PRIVATE_KEY",
6+
"client_email": "INSERT_EMAIL",
7+
"client_id": "INSERT_CLIENT_ID",
8+
"auth_uri": "INSERT_AUTH_URI",
9+
"token_uri": "INSERT_TOKEN_URI",
10+
"auth_provider_x509_cert_url": "INSERT_AUTH_CERT_URL",
11+
"client_x509_cert_url": "INSERT_CLIENT_CERT_URL"
12+
}

0 commit comments

Comments
 (0)