Skip to content
JacobRoberts edited this page Apr 29, 2014 · 15 revisions

Install Go and configure your environment variables

  1. Install Go from the official golang website.
  2. Configure your environment variables $GOPATH and $GOROOT.
    Setting up $GOPATH 1 2
    $GOROOT by default is set to /usr/local/go or C:\go, but can be changed
    For example, my $GOROOT is /usr/local/go, and my $GOPATH is ~/go

Install this code and its dependencies

  1. go get github.com/jacobroberts/chess. This will automatically populate your $GOPATH with the relevant files. $GOPATH/src will contain all of the source code, $GOPATH/pkg will contain the package files, and $GOPATH/bin will contain the chess executable. All of this project's dependencies will be installed as well.

Clone this wiki locally