From 3455e996883361ec9429135e301fa53229212c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 22 Jan 2020 11:29:07 +0100 Subject: [PATCH] Add env vars used by ocis to enable the data services --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fce69656df..df415e8606 100644 --- a/README.md +++ b/README.md @@ -35,12 +35,14 @@ bin/ocis-reva auth-basic & \ bin/ocis-reva auth-bearer & \ bin/ocis-reva sharing & \ bin/ocis-reva storage-root & \ -bin/ocis-reva storage-home & \ +REVA_STORAGE_HOME_EXPOSE_DATA_SERVER=1 bin/ocis-reva storage-home & \ bin/ocis-reva storage-home-data & \ -bin/ocis-reva storage-oc & \ +REVA_STORAGE_OC_EXPOSE_DATA_SERVER=1 bin/ocis-reva storage-oc & \ bin/ocis-reva storage-oc-data ``` +The two env vars are needed to tell the reva gateway to use the dedicated data services when uploading files. + 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