Hacker News new | ask | show | jobs
by pkmishra 3587 days ago
How do you install it on Mac OSX?
1 comments

You can find instructions in the README here: https://github.com/sourcegraph/thyme. But to summarize:

0. Install Go (https://golang.org/doc/install?download=go1.7.darwin-amd64.p...)

1. `go get -u github.com/sourcegraph/thyme/cmd/thyme`

2. `thyme dep`

3. Follow the instructions printed by `thyme dep`

For those on OSX, using Homebrew to install go is a far nicer experience, in addition to making it easier to keep things up-to-date. http://brew.sh then `brew install go` will move you past step 0, although I somehow thought one had to specify a `GOPATH` in order to use `go get`:

    $ go get -u github.com/sourcegraph/thyme/cmd/thyme
    package github.com/sourcegraph/thyme/cmd/thyme: cannot download, $GOPATH not set. For more details see: go help gopath
meaning there is a step 0.5 of `export GOPATH=/some/place/with/a/lot/of/disk/space` and (again, as I understand it) you'll want `$GOPATH/bin` in your `$PATH` or step 2 will not behave as expected.
For what it's worth, I didn't need step 0.5. brew install go, go get -u ... worked right away. I did not have go on this machine yet.
README updated with this alternative, thanks!
Not working. I will open a ticket.