summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/tips/skydriveannex.mdwn11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/tips/skydriveannex.mdwn b/doc/tips/skydriveannex.mdwn
index 56acdd96c..336bb4ef3 100644
--- a/doc/tips/skydriveannex.mdwn
+++ b/doc/tips/skydriveannex.mdwn
@@ -18,12 +18,15 @@ Clone the git repository in your home folder.
This should make a ~/skydriveannex folder
# Setup
-Run the program once to set it up.
+Make the file executable, and link it into PATH
- cd ~/skydriveannex; python2 skydriveannex.py
+ cd ~/skydriveannex; chmod +x git-annex-remote-skydrive; sudo ln -sf `pwd`/git-annex-remote-skydrive /usr/local/bin/git-annex-remote-skydrive
# Commands for gitannex:
- git config annex.skydrive-hook '/usr/bin/python2 ~/skydriveannex/skydriveannex.py'
- git annex initremote skydrive type=hook hooktype=skydrive encryption=shared
+ git annex initremote skydrive type=external externaltype=skydrive encryption=shared folder=gitannex
+
+An oauth authentication link should now be launched in the default browser. Authenticate, and use the last url as OAUTH key.
+
+ OAUTH='URL after last redirect' git annex initremote skydrive type=external externaltype=skydrive encryption=shared folder=gitannex
git annex describe skydrive "the skydrive library"