Skip to content
This repository has been archived by the owner on Jan 18, 2021. It is now read-only.

owncloud/ocis-reva

Repository files navigation

ownCloud Infinite Scale: Reva

Build Status Gitter chat Codacy Badge Go Doc Go Report

This project is under heavy development, it's not in a working state yet!

Install

You can download prebuilt binaries from the GitHub releases or from our download mirrors. For instructions how to install this on your platform you should take a look at our documentation

Development

Make sure you have a working Go environment, for further reference or a guide take a look at the install instructions.

git clone https://github.com/owncloud/ocis-reva.git
cd ocis-reva

make generate build

./bin/ocis-reva -h

To run a demo installation you can use the preconfigured defaults and start all necessary services:

export REVA_USERS_DRIVER=demo

bin/ocis-reva frontend & \
bin/ocis-reva gateway & \
bin/ocis-reva users & \
bin/ocis-reva auth-basic & \
bin/ocis-reva auth-bearer & \
bin/ocis-reva sharing & \
bin/ocis-reva storage-root & \
bin/ocis-reva storage-home & \
bin/ocis-reva storage-home-data & \
bin/ocis-reva storage-oc & \
bin/ocis-reva storage-oc-data

The root storage serves the available namespaces from disk using the local storage driver. In order to be able to navigate into the /home and /oc storage providers you have to create these directories:

mkdir /var/tmp/reva/root/home
mkdir /var/tmp/reva/root/oc

Note: the owncloud storage driver currently requires a redis server running on the local machine.

You should now be able to get a file listing of a users home using

curl -X PROPFIND http://localhost:9140/remote.php/dav/files/ -v -u einstein:relativity

Users

The default config uses the demo user backend, which contains three users:

einstein:relativity
marie:radioactivty
richard:superfluidity

For details on the json and ldap backends see the documentation

Security

If you find a security issue please contact security@owncloud.com first.

Contributing

Fork -> Patch -> Push -> Pull Request

License

Apache-2.0

Copyright

Copyright (c) 2019 ownCloud GmbH <https://owncloud.com>