Building

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, to build this project you have to install Go >= v1.12. After the installation of the required tools you need to get the sources:

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

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

make generate
make build

Finally you should have the binary within the bin/ folder now, give it a try with ./bin/onlyoffice -h to see all available options.