Skip to content

Dev Setup Guide (Linux)

kstola2 edited this page Jul 2, 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://storage.googleapis.com/golang/getgo/installer_linux

Navigate to the folder containing installer_linux. It should be in the same folder you ran the previous command or the Downloads folder. Then make it an executable by running:

chmod +x ./installer_linux

Finally, run the executable:

./installer_linux

To navigate to your go directory, run cd ~/.go. You can always check to see if it's in your current directory by running l -a.

Git

Installing Git

Run the following commands:

sudo apt-get update

sudo apt-get install git

That's all for git.

VSCode

Installing VSCode

First install snap:

sudo apt install snapd

Then install visual studio code:

`sudo snap install --classic code

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