mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
Update docs
This commit is contained in:
parent
59e18bce0a
commit
5bc6486e3b
1 changed files with 13 additions and 0 deletions
|
@ -60,6 +60,19 @@ uploading it somewhere or post only the parts that are really relevant.
|
||||||
Development Environment
|
Development Environment
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
|
In order to compile restic with the `go` tool directly, it needs to be checked
|
||||||
|
out at the right path within a `GOPATH`. The concept of a `GOPATH` is explained
|
||||||
|
in ["How to write Go code"](https://golang.org/doc/code.html).
|
||||||
|
|
||||||
|
If you do not have a directory with Go code yet, executing the following
|
||||||
|
instructions in your shell will create one for you and check out the restic
|
||||||
|
repo:
|
||||||
|
|
||||||
|
$ export GOPATH="$HOME/go"
|
||||||
|
$ mkdir -p "$GOPATH/src/github.com/restic"
|
||||||
|
$ cd "$GOPATH/src/github.com/restic"
|
||||||
|
$ git clone https://github.com/restic/restic
|
||||||
|
|
||||||
For development you need the build tool [`gb`](https://getgb.io), it can be
|
For development you need the build tool [`gb`](https://getgb.io), it can be
|
||||||
installed by running the following command:
|
installed by running the following command:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue