summaryrefslogtreecommitdiff
path: root/doc/tips/googledriveannex.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tips/googledriveannex.mdwn')
-rw-r--r--doc/tips/googledriveannex.mdwn32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/tips/googledriveannex.mdwn b/doc/tips/googledriveannex.mdwn
new file mode 100644
index 000000000..d628173e9
--- /dev/null
+++ b/doc/tips/googledriveannex.mdwn
@@ -0,0 +1,32 @@
+googledriveannex 0.2.0
+=========
+
+Hook program for gitannex to use Google Drive as backend
+
+# Requirements:
+
+ python2
+ python-httplib2
+
+Credit for the googledrive api interface goes to google
+
+# Install
+Clone the git repository in your home folder.
+
+ git clone git://github.com/TobiasTheViking/googledriveannex.git
+
+This should make a ~/googledriveannex folder
+
+# Setup
+Make the file executable, and link it into PATH
+
+ cd ~/googledriveannex; chmod +x git-annex-remote-googledrive; sudo ln -sf `pwd`/git-annex-remote-googledrive /usr/local/bin/git-annex-remote-googledrive
+
+# Commands for gitannex:
+
+ git annex initremote googledrive type=external externaltype=googledrive encryption=shared folder=gitannex
+
+An oauth authentication link should now be launched in the default browser. Authenticate and you will be proved with a code.
+
+ OAUTH='authentication code' git annex initremote googledrive type=external externaltype=googledrive encryption=shared folder=gitannex
+ git annex describe googledrive "the googledrive library"