From f6d66d35bf020ad4782f910d424566666daba238 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 11 Mar 2020 16:44:21 +0100 Subject: [PATCH] Move readme prerequisites before the quickstart Move the prerequisites before the quickstart section to make sure people read them and execute them beforehand. --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4010d41f4..4f51758f2 100644 --- a/README.md +++ b/README.md @@ -26,21 +26,28 @@ make generate build ./bin/ocis -h ``` -## Quickstart -After building the binary with the above steps run all services +## Prerequisites -```console -./bin/ocis server -``` +### Redis server You will need to start a redis server as a cache. The ownCloud storage driver currently will try to connect to the default port. +### Root storage + To prepare the root storage you should fill it with two folders. They are necessary for resolving the home and ownCloud storages. This is subject to change. ```console mkdir -p /var/tmp/reva/root/{home,oc} ``` +## Quickstart + +After building the binary with the above steps and also setting up the prerequisites, run this command to start all services: + +```console +./bin/ocis server +``` + Open [http://localhost:9100](http://localhost:9100) and login using one of the demo accounts: ```console