mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-01 18:01:28 -06:00
29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
---
|
|
title: "Building"
|
|
date: 2018-05-02T00:00:00+00:00
|
|
weight: 30
|
|
geekdocRepo: https://github.com/owncloud/ocis-proxy
|
|
geekdocEditPath: edit/master/docs
|
|
geekdocFilePath: building.md
|
|
---
|
|
|
|
{{< toc >}}
|
|
|
|
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:
|
|
|
|
{{< highlight txt >}}
|
|
git clone https://github.com/owncloud/ocis-proxy.git
|
|
cd ocis-proxy
|
|
{{< / highlight >}}
|
|
|
|
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
|
|
|
|
{{< highlight txt >}}
|
|
make generate
|
|
make build
|
|
{{< / highlight >}}
|
|
|
|
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.
|