summaryrefslogtreecommitdiff
path: root/doc/tips/owncloudannex.mdwn
blob: ad40c67e3ec9efc3628a3dea2879c1cab360aeac (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
=========

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"