projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e5ee67a
)
noting current problems with Drive instructions
author
Bryan
<btbonval@gmail.com>
Mon, 15 Jun 2015 02:44:01 +0000
(22:44 -0400)
committer
Bryan
<btbonval@gmail.com>
Mon, 15 Jun 2015 02:44:01 +0000
(22:44 -0400)
README.md
patch
|
blob
|
history
diff --git
a/README.md
b/README.md
index 24bbf9cdd4b64ceccac9d445684b8986e941e7a0..187d69ac52299423150fedd03b6dd2ca89ff19b9 100644
(file)
--- a/
README.md
+++ b/
README.md
@@
-274,6
+274,11
@@
Follow [Google's instructions](https://developers.google.com/drive/web/auth/web-
to create a Google Drive service account. If using Google Apps, it is worth
looking at [these instructions](https://developers.google.com/drive/delegation).
to create a Google Drive service account. If using Google Apps, it is worth
looking at [these instructions](https://developers.google.com/drive/delegation).
+Google Drive used to use p12 files by default. Now a new-style JSON file is
+downloaded by default when creating new credentials. Until the code has been
+[updated](https://github.com/FinalsClub/karmaworld/issues/437) to use the
+new-style JSON file, make sure to click the `Generate a new P12 key` button.
+
Convert the p12 file into a Base64 encoded string for the
`GOOGLE_SERVICE_KEY_BASE64` environment variable. There are many ways to do
this. If Python is available, the
Convert the p12 file into a Base64 encoded string for the
`GOOGLE_SERVICE_KEY_BASE64` environment variable. There are many ways to do
this. If Python is available, the
@@
-284,6
+289,11
@@
makes this very easy:
with open('file.p12', 'r') as f:
print binascii.b2a_base64(f.read)
with open('file.p12', 'r') as f:
print binascii.b2a_base64(f.read)
+The following instructions require creating web application credentials as
+separate. Ideally, we will
+[remove this step](https://github.com/FinalsClub/karmaworld/issues/436).
+Until then, please figure out how to create web application credentials.
+
Copy the contents of `client_secret_*.apps.googleusercontent.com.json` into the
`GOOGLE_CLIENT_SECRETS` environment variable.
Copy the contents of `client_secret_*.apps.googleusercontent.com.json` into the
`GOOGLE_CLIENT_SECRETS` environment variable.