How to build gravity from source


#1

I tried to build gravity from source following the steps.

  • git clone git@github.com:gravitational/gravity.git
  • cd gravity
  • go get ./…
  • make install

Got issues when running “go get ./…”. Do you know what are the exact steps to download and install dependencies? Could you please provide more details?


#2

We vendor the dependent libraries into our source tree using dep, so you shouldn’t need the go get step at all. They’ll all be present in the vendor folder from the git clone.


#4

Thank you very much for the info. I got it working now. :slight_smile: