Skip to content
Michael Fulton edited this page Nov 5, 2015 · 19 revisions

User Manual

Setting Up A Go Workspace

The first thing you need to do is install golang. A guide for this can be found here: Getting Started With Go

Once you complete this tutorial, you should have a workspace directory for go, pointed to by $GOPATH. This directory should contain a src/, bin/, and pkg/. If they are not there, create them. Once golang is installed and you have this directory, with $GOPATH pointing to it, and $GOBIN pointing to the /bin directory within it, you are ready for the next step.

Acquiring This Code

Golang has a command-line tool 'go'. To acquire the necessary code, you're going to need to use go get which downloads and install packages and their dependencies. You'll need to run three of these:

go get github.com/garyburd/redigo/redis

go get github.com/gyuho/goraph/graph

go get github.com/Grissess/sdnd16/

Once you have done this, you should have the necessary code in your /src directory.

Building The Project

Setting Up A Redis Database

Writing A Topology File

Running the Client

Notes And Troubleshooting.

Clone this wiki locally