Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a proper flow to set up the gdrive integration #30

Open
Zebreu opened this issue Mar 1, 2023 · 1 comment
Open

Add a proper flow to set up the gdrive integration #30

Zebreu opened this issue Mar 1, 2023 · 1 comment

Comments

@Zebreu
Copy link
Collaborator

Zebreu commented Mar 1, 2023

Currently, the Google Drive integration requires a few extra steps not covered in the current repo:

  1. Having a Google dev account
  2. Enabling both Google Sheets and Google Drive API
  3. Creating an Oauth client ID
  4. Downloading a json credentials file and having it added to the docker image
  5. Creating two pickle files (one for sheets, one for drive) through a manual authorization step through the browser when prompted by the application inside a docker container
  6. Keeping the pickle files and adding them to the image to the root of the application/working directory

This isn't ideal and our steps aren't generically documented yet.

@Zebreu
Copy link
Collaborator Author

Zebreu commented Sep 6, 2023

also dockerfile needs to be modified, e.g.:
COPY src/creds/gdrive_creds.json gdrive_creds.json
COPY drive_v3.pickle .
COPY sheets_v4.pickle .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant