Project

General

Profile

Actions

Hacking Keep » History » Revision 5

« Previous | Revision 5/9 (diff) | Next »
Tom Clegg, 08/18/2014 03:57 PM


Hacking Keep

Source tree layout

The Keep storage server source code is in /services/keepstore. Proxy server is in /services/keepproxy.

cd
git clone git://git.curoverse.com/arvados.git
ls arvados/services/keep*

Note: Clone git@git.curoverse.com:arvados.git instead if you plan to push directly to git.curoverse.com.

Install build-prerequisites

Install Go. See http://golang.org/doc/install or try this short cut:

wget https://storage.googleapis.com/golang/go1.3.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.3.1.linux-amd64.tar.gz
cd /usr/local/bin
sudo ln -s ../go/bin/* .

(Check https://code.google.com/p/go/downloads/list for other platforms and newer versions.)

Set up GOPATH

export GOPATH=~/gocode
mkdir -p $GOPATH

Tell Go to use your local copy

(Instead of automatically fetching master from the git repository)

mkdir -p $GOPATH/src/git.curoverse.com
ln -s ~/arvados $GOPATH/src/git.curoverse.com/arvados.git

Run test suite

go test git.curoverse.com/arvados.git/services/keepstore

You should see something like this:

ok      git.curoverse.com/arvados.git/services/keepstore        0.015s

Updated by Tom Clegg over 9 years ago · 5 revisions