This project is under heavy development, it's not in a working state yet!
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
Make sure you have a working Go environment, for further reference or a guide take a look at the install instructions. This project requires Go >= v1.13.
git clone https://github.com/owncloud/ocis.git
cd ocis/ocis
make generate build
./bin/ocis -h
This is a monorepo for multiple microservices. The individual services are located in subfolders like accounts
. The code in the ocis
subfolder aggregates all the go modules and implements commands to start the individual services or the full-stack server with a default config. It also builds a single binary and docker images.
You will need to start a redis server as a cache. The ownCloud storage driver currently will try to connect to the default port.
A quick way to start one for testing is using this docker instance: docker run -e REDIS_DATABASES=1 -p 6379:6379 -d webhippie/redis:latest
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.
mkdir -p /var/tmp/reva/root/{home,oc}
- Make sure that the binary was built with the above steps.
- Now start all services with the following command
./bin/ocis server
- Open https://localhost:9200
- Accept the self-signed certificate (it is regenerated every time the server starts)
- Login using one of the demo accounts:
einstein:relativity
marie:radioactivity
richard:superfluidity
Navigate into the root folder of the repository and execute
docker build -t owncloud/ocis:dev .
To run it, execute
docker run --rm -ti owncloud/ocis:dev
The image can be tagged however you like, just make sure you run the right one then
The list of available extensions can be found in the "Extensions" section when running ./bin/ocis
.
For example to run the "phoenix" extension:
./bin/ocis --log-level debug phoenix
⚠ do not use the run subcommand for running extensions
If you find a security issue please contact [email protected] first.
Fork -> Patch -> Push -> Pull Request
Apache-2.0
Copyright (c) 2020 ownCloud GmbH <https://owncloud.com>