summaryrefslogtreecommitdiff
path: root/doc/tips/owncloudannex.mdwn
blob: e0b6bd37cfb0a7e7a9dd0a7d097c219b7978259c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
owncloudannex 0.2.0
=========

Hook program for gitannex to use owncloud as backend

# Requirements:

    python2
    python-requests

Credit for the webdav api interface goes to https://launchpad.net/python-webdav-lib

# Install
Clone the git repository in your home folder.

    git clone git://github.com/TobiasTheViking/owncloudannex.git 

This should make a ~/owncloudannex folder

# Setup
Make the file executable, and link it into PATH

    cd ~/owncloudannex; chmod +x git-annex-remote-owncloud; sudo ln -sf `pwd`/git-annex-remote-owncloud /usr/local/bin/git-annex-remote-owncloud

# Commands for gitannex:

    USERNAME="login" PASSWORD="password" git annex initremote owncloud type=external externaltype=owncloud encryption=shared folder=gitannex url="https://host/remote.php/webdav/"
    git annex describe dropbox "the owncloud library"