Benedikt Kulmann d311d415b1 Example on how to deploy ocis-web in front of ownCloud10
This deployment scenario shows how to use ocis as frontend for an existing ownCloud 10 production installation. It enables
ownCloud 10 users to log in and work with their files using the new ocis-web UI. While the scenario includes
an ownCloud 10 instance, it only exists to show the necessary configuration for your already existing ownCloud 10
installation.

The setup can be used for:
- Trying out the new UI on ownCloud 10. Users can switch dynamically
- It is a prequisite for future zero-downtime migrations.

Co-authored-by: Ilja Neumann <ineumann@owncloud.com>
Co-authored-by: Jan Müller <jan.mueller@catdev.io>
Co-authored-by: Phil Davis <phil@jankaritech.com>
2020-11-12 09:48:33 +01:00
2020-01-28 15:22:58 +01:00
2020-11-11 17:14:54 +01:00
2020-11-10 13:52:25 +01:00
2020-11-05 21:54:47 +01:00
2020-11-11 17:12:14 +01:00
2020-11-02 15:40:37 +01:00
2020-11-06 08:25:31 +05:45
2020-11-04 15:38:36 +01:00
2020-11-06 08:25:31 +05:45
2020-09-23 15:54:33 +02:00
2020-10-19 11:41:58 +02:00
2020-09-23 15:54:33 +02:00
2020-10-02 13:04:35 +02:00

ownCloud Infinite Scale

Build Status Gitter chat Codacy Badge 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. This project requires Go >= v1.13.

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

make generate build

./bin/ocis -h

Folder Structure

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.

Prerequisites

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. 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

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.

mkdir -p /var/tmp/reva/root/{home,oc}

Quickstart

  • 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

Create a local Docker image for testing

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

Running single extensions

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

Security

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

Contributing

Fork -> Patch -> Push -> Pull Request

License

Apache-2.0

Copyright (c) 2020 ownCloud GmbH <https://owncloud.com>
Description
This is the main repository of the OpenCloud server. It contains the golang codebase for the backend services.
Readme Apache-2.0 327 MiB
Languages
Go 48.4%
Gherkin 36.6%
PHP 12.4%
JavaScript 1.3%
Makefile 0.7%
Other 0.5%