nspcc-dev / neofs-s3-gw

NeoFS S3 Protocol Gateway
GNU Affero General Public License v3.0
7 stars 15 forks source link

Readme / Installation instructions aren't working (macOS) #944

Closed lock9 closed 5 months ago

lock9 commented 5 months ago

Current Behavior

I'm trying to run the application following the readme instructions.

First, I tried: go get -u github.com/nspcc-dev/neofs-s3-gw

It failed with an error:

go: go.mod file not found in current directory or any parent directory.
    'go get' is no longer supported outside a module.
    To build and install a command, use 'go install' with a version,
    like 'go install example.com/cmd@latest'
    For more information, see https://golang.org/doc/go-get-install-deprecation
    or run 'go help get' or 'go help install'.

Then, I cloned the project and tried to build it using make, but got another error:

neofs-s3-gw % make
tree service revision feaa9eace7098c343598bf08fb50746a1e8d2deb
./syncTree.sh: line 9: jq: command not found
⇒ Ensure dir: bin
⇒ Download requirements: OK
⇒ Tidy requirements: go: finding module for package github.com/nspcc-dev/neofs-s3-gw/internal/neofs/services/tree
go: github.com/nspcc-dev/neofs-s3-gw/internal/neofs imports
    github.com/nspcc-dev/neofs-s3-gw/internal/neofs/services/tree: no matching versions for query "latest"
make: *** [dep] Error 1

I'm not a Go dev. Maybe I'm doing something wrong.

Expected Behavior

It should build the files

Possible Solution

Steps to Reproduce

Rungo get -u github.com/nspcc-dev/neofs-s3-gw or clone the repo and run make.

Context

I can't use the application.

Your Environment

roman-khimov commented 5 months ago

I can't use the application.

You've got binaries in https://github.com/nspcc-dev/neofs-s3-gw/releases/tag/v0.30.0 as well as images at https://hub.docker.com/r/nspccdev/neofs-s3-gw.

We'll fix the README here.