barak -config, not barak -options-file
This commit is contained in:
parent
0a8fb72a08
commit
269911ab98
|
@ -20,7 +20,7 @@ Don't use `apt-get install golang`, it's still on an old version.
|
|||
WARNING: THIS STEP WILL GIVE CONTROL OF THE CURRENT USER TO THE DEV TEAM.
|
||||
|
||||
go get -u github.com/tendermint/tendermint/cmd/barak
|
||||
nohup barak -options-file="$GOPATH/src/github.com/tendermint/tendermint/cmd/barak/seed0" &
|
||||
nohup barak -config="$GOPATH/src/github.com/tendermint/tendermint/cmd/barak/seed" &
|
||||
|
||||
### Install/Update Tendermint
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ var barak_ *Barak
|
|||
|
||||
// Parse command-line options
|
||||
func parseFlags() (optionsFile string) {
|
||||
flag.StringVar(&optionsFile, "options-file", "", "Read options from file instead of stdin")
|
||||
flag.StringVar(&optionsFile, "config", "", "Read config from file instead of stdin")
|
||||
flag.Parse()
|
||||
return
|
||||
}
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"ListenAddress": "0.0.0.0:46661",
|
||||
"Validators": [
|
||||
{
|
||||
"VotingPower": 1,
|
||||
"PubKey": [1,"0A78709AF1FBB1118879E1C756834654E082A7C8240433FB9B22AB04710431A4"]
|
||||
}
|
||||
],
|
||||
"Registries": [
|
||||
"http://navytoad.chaintest.net:46660"
|
||||
]
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"ListenAddress": "0.0.0.0:46662",
|
||||
"Validators": [
|
||||
{
|
||||
"VotingPower": 1,
|
||||
"PubKey": [1,"0A78709AF1FBB1118879E1C756834654E082A7C8240433FB9B22AB04710431A4"]
|
||||
}
|
||||
],
|
||||
"Registries": [
|
||||
"http://navytoad.chaintest.net:46660"
|
||||
]
|
||||
}
|
|
@ -7,7 +7,7 @@ sleep 10
|
|||
debora --group default.upgrade close "[::]:46660"
|
||||
debora --group default.upgrade run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; git pull origin develop; make"
|
||||
debora --group default.upgrade run -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; mkdir -p ~/.barak/logs"
|
||||
debora --group default.upgrade run --bg --label barak -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; barak --options-file=cmd/barak/seed0 | stdinwriter -outpath ~/.barak/logs/barak.log"
|
||||
debora --group default.upgrade run --bg --label barak -- bash -c "cd \$GOPATH/src/github.com/tendermint/tendermint; barak --config=cmd/barak/seed | stdinwriter -outpath ~/.barak/logs/barak.log"
|
||||
echo "Testing new barak..."
|
||||
debora list
|
||||
sleep 10
|
||||
|
|
Loading…
Reference in New Issue