From 1e6b504c7a00df2a0361c0a57b8a272f0f0f75ac Mon Sep 17 00:00:00 2001 From: James Arnall Date: Sat, 12 Jun 2021 11:37:09 -0500 Subject: [PATCH] Changed instructions on creating credential files The original instructions specified putting the gspread credentials file in the default location, but the code looks for a file in another place. The README now reflects the code's behavior. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index edeb030..2e40bcc 100644 --- a/README.md +++ b/README.md @@ -6,9 +6,9 @@ This Python script will look for links to Youtube, Twitter, etc,. in a specified If you are using `pipenv` (recommended), `pipenv install` is sufficient to install Python prerequisites. -[A Google Service account is necessary for use with `gspread`.](https://gspread.readthedocs.io/en/latest/oauth2.html#for-bots-using-service-account) Credentials for this account should be stored in `~/.config/gspread/service_account.json`. +[A Google Service account is necessary for use with `gspread`.](https://gspread.readthedocs.io/en/latest/oauth2.html#for-bots-using-service-account) Credentials for this account should be stored in `service_account.json`, in the same directory as the script. -A `.env` file is required for saving content to a Digital Ocean space, and for archiving pages to the Internet Archive. This file should contain the following variables: +A `.env` file is required for saving content to a Digital Ocean space, and for archiving pages to the Internet Archive. This file should also be in the script directory, and should contain the following variables: ``` DO_SPACES_REGION=