Skip to content

Dev Setup Guide (Linux)

kstola2 edited this page Jul 18, 2019 · 12 revisions

The purpose of this page is to instruct new developers on how to get started working on Project Aurum on a Windows machine.

Go

Installing Go

Open a terminal and run wget https://dl.google.com/go/go1.12.7.linux-amd64.tar.gz

Navigate to the directory containing the tar file and run tar -xvf go1.12.7.linux-amd64.tar.gz.

This will create a go/ directory.

Set the GOROOT by running export GOROOT=<path to go directory> (use pwd to print current directory`)

Set the GOPATH by making a directory for your go projects wherever you'd like mkdir go then running export GOPATH=<path to go projects>.

Finally run export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

Verify installation by running go env and go version.

Git

Installing Git

Run the following commands:

sudo apt-get update

sudo apt-get install git

That's all for git.

VSCode

Installing VSCode

Follow these instructions.

Aurum

Getting the repository

In your terminal run:

go get github.com/SIGBlockchain/project_aurum/...

If you're encountering libc problems, run the following:

sudo apt-get update sudo apt-get install build-essential

Then try again.

Run go env. This should show your GOPATH. Navigate to GOPATH/src/github.com and verify you have the SIGBlockchain repository.

You're all done!

Clone this wiki locally