From be8535b206eb839a05f3263eea47b64384266d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Geisendo=CC=88rfer?= Date: Thu, 2 May 2013 15:28:22 +0200 Subject: [PATCH] Explain dev.sh --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dfc4225..e4be6ba 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ priority. * [Go 1.0](http://golang.org/doc/install) -**Installing tusd:** +**Running tusd from source:** Clone the git repository and `cd` into it. @@ -27,9 +27,15 @@ git clone git@github.com:tus/tusd.git cd tusd ``` -**Running tusd:** +Next source the dev.sh file. You need to do this for each shell session you +plan to use for running tus from source. It basically configures a local gopath +for you, so you don't have to install tusd globally. -Run it with go: +```bash +source dev.sh +``` + +Now you can run tusd: ```bash go run src/cmd/tusd/*.go