From 0ccdc15c0fe02e784da2467686b165eefbf047c3 Mon Sep 17 00:00:00 2001 From: James Mills Date: Fri, 1 Sep 2017 23:23:37 -0700 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 731c9ae..532ff8b 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,14 @@ complex urls for easier sharing or embedding. ### Source +Due to the necessity of the way assets are handled if you are building/installing from source and intend to run outside of the source tree you need to do something like this: + ```#!bash -$ go install github.com/prologic/shorturl/... +$ go get github.com/GeertJohan/go.rice/rice +$ go get github.com/prologic/shorturl +$ cd $GOPATH/src/github.com/prologic/shorturl +$ rice embed-go +$ go build ``` ## Usage