summaryrefslogtreecommitdiff
path: root/doc/tips/skydriveannex.mdwn
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8 <TobiasTheViking@web>2014-01-10 14:29:55 +0000
committerGravatar admin <admin@branchable.com>2014-01-10 14:29:55 +0000
commitb1ebe2f000e91936cd3bea1dd8f4404366cf5306 (patch)
tree84742cc6295aa09315fde8b3abb8c701ee59b1ac /doc/tips/skydriveannex.mdwn
parentd9a74ad5a8c7daeb2db9af0fcf25662a1ff54b4a (diff)
Diffstat (limited to 'doc/tips/skydriveannex.mdwn')
-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"