diff --git a/Installation.md b/Installation.md index d946be6..d617fe3 100644 --- a/Installation.md +++ b/Installation.md @@ -18,17 +18,19 @@ To download the pre-built executable, please visit the [releases page](https://g
Longer explanation of how to build from source -0. help: - - https://golang.org/doc/code.html + +0. help: + - https://golang.org/doc/code.html 1. download and install go and git and make them available in `PATH` 2. set $GOPATH to whichever directory you want to use as workspace (if you don't do this, go uses as default location `your_homefolder/go` ) 3. in cmd run `go get github.com/gilbertchen/duplicacy/duplicacy` - 3.5 wait until the command finishes (it has to download A LOT) of sources needed for building duplicacy (all the libraries which duplicacy depends on -- for each supported storage and so on) + - 3.5 wait until the command finishes (it has to download A LOT) of sources needed for building duplicacy (all the libraries which duplicacy depends on -- for each supported storage and so on) 4. after the download is finished, `cd` to the folder `$GOPATH/src/github.com/gilbertchen/duplicacy` (see the similarity with the above github path? -> this is how go manages libraries and dependencies). There are all the sources for duplicacy. - 4.5 if you want to build a different branch from `master`, now it's the time! you have to pull the remote branch which has the changes you need into local master -- I recommend using a good GUI: [Sourcetree](https://www.sourcetreeapp.com/) but you can do it from cmd as well. ([_you_](https://www.youtube.com/watch?v=BomVB3QkKQs) [_monster_](https://www.youtube.com/watch?v=f2pmcAjvWYQ)). - 4.6 If you want to modify something in the sources, you should do it at this step (eg.: modify the number of retries for some storage) 5. now that you have the sources, you have to actually compile duplicacy: again in cmd `go install github.com/gilbertchen/duplicacy/duplicacy` -6. compiling should take no more than 10 seconds. You will find the executable file in the folder `$GOPATH/bin/duplicacy.exe`
+6. compiling should take no more than 10 seconds. You will find the executable file in the folder `$GOPATH/bin/duplicacy.exe` + # Build on macOS