Install
Install go
go
TIP: Go 1.18+ is required for building and installing the StaFiHub software.
Install go by following the official docs.
Remember to set your $GOPATH
, $GOBIN
, and $PATH
environment variables, for example:
Verify that go has been installed successfully
Install stafihubd
stafihubd
After setting up go
correctly, you should be able to compile and run stafihubd
Make sure that your server can access to google.com because our project depends on some libraries provided by google. (If you are not able to access google.com, you can also try to add a proxy: export GOPROXY=https://goproxy.io)
If your environment variables have set up correctly, you should not get any errors by running the above commands. Now check your stafihubd
version.
Last updated