storj/cmd/uplink
JT Olio 2744a26b60
pkg/cfgstruct: tie defaults to releases (#1787)
* tie defaults to releases

this change makes it so that by default, the flag defaults are
chosen based on whether the build was built as a release build or
an ordinary build. release builds by default get release defaults,
whereas ordinary builds by default get dev defaults.

any binary can have its defaults changed by specifying

 --defaults=dev

or

 --defaults=release

Change-Id: I6d216aa345d211c69ad913159d492fac77b12c64

* make release defaults more clear

this change extends cfgstruct structs to support either
a 'default' tag, or a pair of 'devDefault' and 'releaseDefault'
tags, but not both, for added clarity

Change-Id: Ia098be1fa84b932fdfe90a4a4d027ffb95e249c6

* clarify cfgstruct.DefaultsFlag

Change-Id: I55f2ff9080ebbc0ce83abf956e085242a92f883e
2019-04-19 12:17:30 -06:00
..
cmd pkg/cfgstruct: tie defaults to releases (#1787) 2019-04-19 12:17:30 -06: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 Update README.md (#1400) 2019-03-05 09:54:49 +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 ~/.storj/uplink/config.yaml to your liking. Then run it!

uplink run