Merge pull request #135 from owncloud/readme-prereqs

Move readme prerequisites before the quickstart
This commit is contained in:
Vincent Petry
2020-03-11 17:25:35 +01:00
committed by GitHub
+12 -5
View File
@@ -26,21 +26,28 @@ make generate build
./bin/ocis -h ./bin/ocis -h
``` ```
## Quickstart ## Prerequisites
After building the binary with the above steps run all services
```console ### Redis server
./bin/ocis 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. 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. 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 ```console
mkdir -p /var/tmp/reva/root/{home,oc} 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: Open [http://localhost:9100](http://localhost:9100) and login using one of the demo accounts:
```console ```console