Developer setup

Getting setup for development

The development environment has only been test on Ubuntu 20.04 and Mac OS X. The development environment does require an x86 processor.

Installing dependencies

Ubuntu
Mac OS X
Ubuntu
apt-get install -y git make docker-ce docker-ce-cli containerd.io gcc g++ libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
Mac OS X

Configuring Docker

Ubuntu
Mac OS X
Ubuntu
systemctl enable docker
systemctl start docker
Mac OS X

Installing Golang

Ubuntu
Mac OS X
Ubuntu
wget https://golang.org/dl/go1.15.3.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.15.3.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profile
source ~/.profile
Mac OS X

Install gocv

Ubuntu
Mac OS X
Ubuntu
go get -u -d gocv.io/x/gocv
cd $GOPATH/src/gocv.io/x/gocv
make install
Mac OS X

Checkout out the code

$ git clone --recurse-submodules -b develop \
git@gitlab.com:skyhuborg/tracker.git

The develop branch has all of our latest code, master is reserved for stable releases.

Once you've checked out the code, you're ready to build.

This assumes you are in the root of the git repository.

make

Now you've successfully built the project, lets move on to configuring vscode to launch the Full Development Stack.