Hacking Keep » History » Version 8
Misha Zatsman, 09/05/2014 03:31 PM
| 1 | 1 | Tom Clegg | h1. Hacking Keep |
|---|---|---|---|
| 2 | |||
| 3 | {{toc}} |
||
| 4 | |||
| 5 | 6 | Tim Pierce | These instructions describe how to build the Arvados Keep storage server and/or proxy on your local machine. |
| 6 | 1 | Tom Clegg | |
| 7 | 8 | Misha Zatsman | h2. Install Go and Source |
| 8 | 1 | Tom Clegg | |
| 9 | 8 | Misha Zatsman | The Arvados Keep server and proxy are written in "Go":http://www.golang.org/. |
| 10 | 6 | Tim Pierce | |
| 11 | 8 | Misha Zatsman | Follow the steps at [[Go#Using Go With Arvados|Using Go With Arvados]] to install the Go toolchain and Arvados Source. |
| 12 | 6 | Tim Pierce | |
| 13 | 5 | Tom Clegg | h2. Run test suite |
| 14 | |||
| 15 | 4 | Tom Clegg | <pre> |
| 16 | 6 | Tim Pierce | cd ~/arvados/services/keepstore |
| 17 | go test |
||
| 18 | 5 | Tom Clegg | </pre> |
| 19 | 4 | Tom Clegg | |
| 20 | 6 | Tim Pierce | The @go test@ command will print a few dozen lines of logging output. If the tests succeeded, it will print PASS followed by a summary of the packages which passed testing, e.g.: |
| 21 | 4 | Tom Clegg | |
| 22 | <pre> |
||
| 23 | 6 | Tim Pierce | PASS |
| 24 | ok _/home/you/arvados/services/keepstore 1.023s |
||
| 25 | 1 | Tom Clegg | </pre> |