Files
ocis/docs/extensions/proxy/building.md
T

28 lines
1.0 KiB
Markdown
Raw Normal View History

2020-09-23 11:48:59 +02:00
---
2020-09-21 12:42:36 +02:00
title: "Building"
date: 2018-05-02T00:00:00+00:00
weight: 30
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/extensions/proxy
2020-09-23 11:48:59 +02:00
geekdocFilePath: building.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
As this project is built with Go, so you need to install that first. The installation of Go is out of the scope of this document, please follow the official documentation for [Go](https://golang.org/doc/install), to build this project you have to install Go >= v1.13. After the installation of the required tools you need to get the sources:
2020-09-23 11:48:59 +02:00
{{< highlight txt >}}
git clone https://github.com/owncloud/ocis-proxy.git
2020-09-21 12:42:36 +02:00
cd ocis-proxy
2020-09-23 11:48:59 +02:00
{{< / highlight >}}
2020-09-21 12:42:36 +02:00
All required tool besides Go itself and make are bundled or getting automatically installed within the `GOPATH`. All commands to build this project are part of our `Makefile`.
## Backend
2020-09-23 11:48:59 +02:00
{{< highlight txt >}}
2020-09-21 12:42:36 +02:00
make generate
make build
2020-09-23 11:48:59 +02:00
{{< / highlight >}}
2020-09-21 12:42:36 +02:00
Finally you should have the binary within the `bin/` folder now, give it a try with `./bin/ocis-proxy -h` to see all available options and subcommands.