summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawmkBwMWvNKZZCge_YqobCSILPMeK6xbFw8 <develop@web>2013-06-01 08:42:56 +0000
committerGravatar admin <admin@branchable.com>2013-06-01 08:42:56 +0000
commitc541ece7c1419377e467142ac7b0e3f52a6382be (patch)
tree3dfc0d6ed62a24d0ca81b7441db01ba91b397cea
parent367d9a0211886715c0ee25a08862b6b1770bae9e (diff)
-rw-r--r--doc/tips/owncloudannex.mdwn28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/tips/owncloudannex.mdwn b/doc/tips/owncloudannex.mdwn
new file mode 100644
index 000000000..ad40c67e3
--- /dev/null
+++ b/doc/tips/owncloudannex.mdwn
@@ -0,0 +1,28 @@
+owncloudannex
+=========
+
+Hook program for gitannex to use owncloud as backend
+
+# Requirements:
+
+ python2
+
+Credit for the Owncloud api interface goes to me.
+
+# Install
+Clone the git repository in your home folder.
+
+ git clone git://github.com/TobiasTheViking/owncloudannex.git
+
+This should make a ~/owncloudannex folder
+
+# Setup
+Run the program once to set it up.
+
+ cd ~/owncloudannex; python2 owncloudannex.py
+
+# Commands for gitannex:
+
+ git config annex.owncloud-hook '/usr/bin/python2 ~/owncloudannex/owncloudannex.py'
+ git annex initremote owncloud type=hook hooktype=owncloud encryption=shared
+ git annex describe owncloud "the owncloud library"