From c0de2b22cc3d041aa590959b6507e15e0478f7f4 Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Mon, 25 May 2015 18:55:02 +0100 Subject: [PATCH] update build instructions to use godep --- README.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index c716eb8..3b52f6f 100644 --- a/README.rst +++ b/README.rst @@ -45,6 +45,7 @@ Building Base dependencies: - Go (at least version 1.2) +- godep - LevelDB Note that the LevelDB version in Debian wheezy is too old with @@ -70,14 +71,15 @@ the ``libav`` suite (``avconv``). On a Debian-based system, ``apt-get install libav-tools portaudio19-dev`` should do. -* install the Go package dependencies:: +* install the ``godep`` tool: $ cd $GOPATH/src/git.autistici.org/ale/djrandom - $ go get ./client/... + $ export PATH=$PATH:$GOPATH/bin + $ go get github.com/tools/godep * install the client binaries:: - $ go install ./client/... + $ godep install ./client/... You should now have ``djplay``, ``djupload`` and ``djmpd`` in ``$GOPATH/bin``. @@ -118,10 +120,8 @@ You should now be able to build all the server-side tools with:: $ cd ../djrandom $ make - $ go get -v ./server/... - $ go install -v ./server/... - $ go get -v ./mapreduce/... - $ go install -v ./mapreduce/... + $ godep install ./server/... + $ godep install ./mapreduce/... Running the upload client -- GitLab