unable to run in local host
Closed this issue · 2 comments
I might have an error with the steps on the README.
Your error comes from incorrectly setup of django-googledrive-storage. (Documentation here: https://django-googledrive-storage.readthedocs.io/en/latest/)
After you created and obtained your private key in JSON from Google Developer Console, you have 2 options:
-
(Recommended) Add an environment variable to your local machine named
GOOGLE_DRIVE_STORAGE_JSON_KEY_FILE_CONTENTS
and paste the content (not the file) of the JSON as the value. -
(Not recommended, you could leak your private key on source control) Go to
/roomfiles/settings.py
and change the value ofGOOGLE_DRIVE_STORAGE_JSON_KEY_FILE
fromNone
to the path of the JSON file where it is located in your system.
Closed for inactivity.
Duplicate of #2.