Skip to content

Compiling Glo

Shannon Duncan edited this page May 23, 2018 · 1 revision

Compiling Glo From Source

So you want to compile Glo on your own instead of using prebuilt? Maybe you are developing against it, or maybe you just don't trust the prebuilts 👀. This guide will walk you through setting that up.

Install Go

First thing you will need is to install Go for your operating system.

Official Go docs are here: https://golang.org/doc/install

Via Snap on Linux

Snap Website: https://snapcraft.io/

sudo snap install --classic go

Via Homebrew on MacOS

Homebrew Website: https://brew.sh/

brew install go

Via Chocolatey on Windows

Chocolatey Website: https://chocolatey.org/

choco install golang

Clone Glo Github Repo

git clone https://github.com/haloplatform/glo.git

cd glo

Compile It

Linux/MacOS

make all

Windows

coming soon™️ (Windows is very complicated to compile atm, detailed docs are coming for it.)

Clone this wiki locally