From ff42de9c2b4fc6c819a30574f4ac610f4680d92f Mon Sep 17 00:00:00 2001 From: Oliver Tonnhofer Date: Tue, 3 Sep 2013 10:55:07 +0200 Subject: [PATCH] add mercurial and git as go get dependencies closes #1 --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cd6a198..b67f663 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ For best performance use [HyperLevelDB][libhyperleveldb] as an in-place replacem #### Go libraries -Imposm3 uses the following libraries. `go install` will fetch these: +Imposm3 uses the following libraries. `go get` will fetch these: - - @@ -139,9 +139,17 @@ Imposm3 uses the following libraries. `go install` will fetch these: - - +#### Other + +Fetching Imposm and the Go libraries requires [mercurial][] and [git][]. + +[mercurial]: http://mercurial.selenic.com/ +[git]: http://git-scm.com/ + + ### Installation ### -Create a new `GOPATH` +Create a new [Go workspace](http://golang.org/doc/code.html): mkdir imposm cd imposm @@ -150,7 +158,6 @@ Create a new `GOPATH` Get Imposm 3 and all dependencies: git clone https://github.com/omniscale/imposm3 src/imposm3 - cd src/imposm3 go get imposm3 go install imposm3