Skip to content

Commit

Permalink
fix: README
Browse files Browse the repository at this point in the history
  • Loading branch information
DavDeDev committed Jul 15, 2023
1 parent 061ffa6 commit 3a46ed5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push-to-EC2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_id
jobs:
setup:
deploy:
name: Set-up
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 2 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ This instruction page assumes you already have Node.js, NPM installed
3. **Create a service account:** In the GCP Console, navigate to **IAM & Admin > Service Accounts**. Click on the **Create Service Account** button. Provide a name and description for the service account, and click **Create**. Make sure to grant the service account the necessary permissions to manage calendars by assigning the **Calendar role**.
4. **Generate and download the credentials:** After creating the service account, click on the service account's name to view its details. Navigate to the **Keys** tab, and click on **Add Key > Create new key**. Select **JSON** as the key type and click **Create**. This will download a JSON file containing the service account's credentials. Rename the downloaded file to **`credentials.json`**.
5. **Add the service account to the calendar:** Share the calendar you want to manage with the service account. In the calendar's settings, go to the **Share with specific people** section and enter the email address associated with the service account (found in the **`credentials.json`** file) to grant it access to the calendar.
6. **Place credentials.json in the project:** Move the **`credentials.json`** file to the **`/src`** directory of your project. This file will be used to authenticate and authorize your application to access the Google Calendar API.

_You will place credentials.json in the `.env` file_

_For additional clarification or assistance, you can refer to this [comment](https://stackoverflow.com/a/26067547/18686901) or feel free to [contact me](#contact)._

Expand Down

0 comments on commit 3a46ed5

Please sign in to comment.