Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1006 Bytes

source.md

File metadata and controls

55 lines (36 loc) · 1006 Bytes

+++ title = "compile from source" date = "2017-03-20T16:17:00+00:00" hidden = true

+++

Compile from source

Setup go environment https://golang.org/doc/install

go >= 1.9 is required

For example using $HOME/go for your workspace

$ export GOPATH=$HOME/go

Create the directory:

$ mkdir -p $HOME/go/src/github.com/immortal

Clone project into that directory:

$ git clone [email protected]:immortal/immortal.git $HOME/go/src/github.com/immortal/immortal

Build by just typing make:

$ cd $HOME/go/src/github.com/immortal/immortal
$ make

To install/uninstall:

$ make install
$ make uninstall

Help making the port/package

If you are familiar with the platform, would be nice if could create a native port in order make more simple the installation process.

Currently there are only ports for FreeBSD and macOS

Saltstack

saltstack formula: https://github.com/saltstack-formulas/immortal-formula