storj/cmd/uplink
Ivan Fraixedes 69cf6caa62
cmd/uplink: Fix error on interactive setup when --config-dir flag is used. (#2033)
Uplink CLI was returning an error when the `--config-dir` flag was
used with interactive `setup` command because the directory used for
storing the encryption key file was the default configuration directory
rather than the value set in the flag.

This changes make the setup process to use the same directory, than the
one informed by the `--config-dir` flag value, for storing encryption
key file.

On the other hand, the default value for the encryption key file path
which was set with the purpose of showing it in the help message has
been removed because the cfgstruct doesn't show it unless that the flag
is set to the Cobra root CMD, so it was useless.

Also show the absolute path where the encryption key file has been saved when
the interactive setup command ends satisfactorily as it's equally done
with the configuration file.
2019-05-23 16:49:28 +02:00
..
cmd cmd/uplink: Fix error on interactive setup when --config-dir flag is used. (#2033) 2019-05-23 16:49:28 +02:00
Dockerfile Fix detection of existing config in docker images (#929) 2018-12-21 11:56:57 -05:00
entrypoint Adding additional required values for satellite configuration (#1036) 2019-01-11 22:47:18 -05:00
main.go Divide uplink and gateway params set (#1026) 2019-02-04 16:50:06 +01:00
README.md Bd/doc text2 (#1973) 2019-05-16 15:04:06 +02:00

Uplink

Documentation for developing and building the uplink service.

Usage:

First make an identity:

go install storj.io/storj/cmd/identity
identity create uplink

Then setup the uplink:

go install storj.io/storj/cmd/uplink
uplink setup

You can edit :~/.local/share/storj/uplink/config.yaml to your liking. Then run it!

uplink ls