From 6496f86b114c57f31409307a4c9c2bd39cb4b603 Mon Sep 17 00:00:00 2001 From: MC42 Date: Tue, 19 Nov 2024 16:11:38 -0500 Subject: [PATCH] Call out default google credential file name and also add to gitignore for both variants listed in config. --- .gitignore | 2 ++ INSTALL.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index abaee13..44197ba 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ .*.uptodate *.egg-info build +google_creds.json # This is because the default credential location is noted as such. +creds.json # Listed as credentials in schedulebot reference jsonnet config. \ No newline at end of file diff --git a/INSTALL.md b/INSTALL.md index 7ab8424..7d0e7d8 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -44,7 +44,7 @@ After making any changes to `docker-compose.jsonnet`, you will need to rerun `ge By default the `downloader`, `restreamer`, `backfiller`, `cutter`, `thrimshim`, `segment_coverage` and `nginx` services of the wubloader will be run. To change which services are run edit the `enabled` object in `docker-compose.jsonnet`. A complete wubloader set up also requires one and only one `database` service (though having a backup database is a good idea), one and only one `sheetsync` service and one and only one `playlist_manager` service. -If you are running a `cutter` you will have to place the appropriate Google credentials in a JSON file given by the `cutter_creds_file`. Likewise, if you are running the `sheetsync` service, you will have to place the appropriate credentials in the JSON file pointed to by `sheetsync_creds_file` as well as set the appropriate `sheet_id` and `worksheets` for the Google sheet to sync with. You will also need to set the appropriate `edit_url` to access `thrimbletrimmer`. +If you are running a `cutter` you will have to place the appropriate Google credentials in a JSON file given by the `cutter_creds_file` (google_creds.json in the root repo by default). Likewise, if you are running the `sheetsync` service, you will have to place the appropriate credentials in the JSON file pointed to by `sheetsync_creds_file` as well as set the appropriate `sheet_id` and `worksheets` for the Google sheet to sync with. You will also need to set the appropriate `edit_url` to access `thrimbletrimmer`. ## Running Wubloader