docs: install: dep ensure

This commit is contained in:
Christian Schwarz 2017-09-24 10:52:29 +02:00
parent 8dabfe08c7
commit 1c3e4e2f07

View File

@ -20,7 +20,7 @@ However, until we get around documenting those setups, you will have to run zrep
zrepl is currently not packaged on any operating system. Signed & versioned releases are planned but not available yet. zrepl is currently not packaged on any operating system. Signed & versioned releases are planned but not available yet.
Check out the sources yourself, compile and install to the zrepl user's `$PATH`.<br /> Check out the sources yourself, fetch dependencies using dep, compile and install to the zrepl user's `$PATH`.<br />
**Note**: if the zrepl binary is not in `$PATH`, you will have to adjust the examples in the [tutorial]({{< relref "tutorial/_index.md" >}}). **Note**: if the zrepl binary is not in `$PATH`, you will have to adjust the examples in the [tutorial]({{< relref "tutorial/_index.md" >}}).
```bash ```bash
@ -28,6 +28,7 @@ Check out the sources yourself, compile and install to the zrepl user's `$PATH`.
cd /root cd /root
git clone https://github.com/zrepl/zrepl.git git clone https://github.com/zrepl/zrepl.git
cd zrepl cd zrepl
dep ensure
go build -o zrepl go build -o zrepl
cp zrepl /usr/local/bin/zrepl cp zrepl /usr/local/bin/zrepl
rehash rehash