Files
QSfera/webdav/docs/content/building.md
T
A.Unger 72a987f8e3 Add 'webdav/' from commit '0d5eded8d0068b8df984b3d4c44a66f10c97cf77'
git-subtree-dir: webdav
git-subtree-mainline: 7ffaa859b3
git-subtree-split: 0d5eded8d0
2020-09-18 12:56:12 +02:00

25 lines
939 B
Markdown

---
title: "Building"
date: 2018-05-02T00:00:00+00:00
anchor: "building"
weight: 30
---
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.12. After the installation of the required tools you need to get the sources:
{{< highlight txt >}}
git clone https://github.com/owncloud/ocis-webdav.git
cd ocis-webdav
{{< / 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-webdav -h` to see all available options.