Files
ocis/docs/extensions/proxy/getting-started.md
T

53 lines
1.8 KiB
Markdown
Raw Normal View History

2020-09-23 11:48:59 +02:00
---
2020-09-21 12:42:36 +02:00
title: "Getting Started"
date: 2018-05-02T00:00:00+00:00
weight: 15
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/proxy
2020-09-23 11:48:59 +02:00
geekdocFilePath: getting-started.md
---
2020-09-21 12:42:36 +02:00
2020-09-23 11:48:59 +02:00
{{< toc >}}
2020-09-21 12:42:36 +02:00
## Installation
So far we are offering two different variants for the installation. You can choose between [Docker](https://www.docker.com/) or pre-built binaries which are stored on our download mirrors and GitHub releases. Maybe we will also provide system packages for the major distributions later if we see the need for it.
### Docker
2020-09-23 11:48:59 +02:00
Docker images for ocis-reva are hosted on https://hub.docker.com/r/owncloud/ocis-proxy.
2020-09-21 12:42:36 +02:00
The `latest` tag always reflects the current master branch.
```console
docker pull owncloud/ocis-proxy
```
### Binaries
2020-09-23 11:48:59 +02:00
The pre-built binaries for different platforms are downloadable at https://download.owncloud.com/ocis/ocis-proxy/ . Specific releases are organized in separate folders. They are in sync which every release tag on GitHub. The binaries from the current master branch can be found in https://download.owncloud.com/ocis/ocis-proxy/testing/
2020-09-21 12:42:36 +02:00
```console
curl https://download.owncloud.com/ocis/ocis-proxy/1.0.0-beta1/ocis-proxy-1.0.0-beta1-darwin-amd64 --output ocis-proxy
chmod +x ocis-proxy
./ocis-proxy server
```
## Usage
The program provides a few sub-commands on execution. The available configuration methods have already been mentioned above. Generally you can always see a formated help output if you execute the binary via `ocis-proxy --help`.
### Server
The server command is used to start the http server. For further help please execute:
2020-09-23 11:48:59 +02:00
{{< highlight txt >}}
2020-10-28 17:43:46 +01:00
proxy server --help
2020-09-23 11:48:59 +02:00
{{< / highlight >}}
2020-10-28 17:43:46 +01:00
### Version
The version command lists the versions of all running instances. For further help please execute:
{{< highlight txt >}}
proxy version --help
{{< /highlight >}}