Skip to content

Commit

Permalink
Merge pull request irisnet#12 from zhiqiang-bianjie/develop
Browse files Browse the repository at this point in the history
 update iris-hub to irishub
  • Loading branch information
zhangyelong authored Jun 20, 2018
2 parents a429642 + fb42b35 commit 697a53d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ get_vendor_deps:

install:
go install ./cmd/iris
go build ./cmd/iriscli
go install ./cmd/iriscli

build_linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/iris ./cmd/iris && \
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Iris-Hub
# irishub
Iris Hub是在Cosmos生态中的区域性枢纽提供iService服务

## 下载发行版安装
* 进入下载页: https://github.com/irisnet/iris-hub/releases/tag/0.1.0
* 进入下载页: https://github.com/irisnet/irishub/releases/tag/0.1.0
* 下载对应版本的可执行文件
* 解压缩`tar -C /usr/local -xzf iris$VERSION.$OS-$ARCH.zip`
* 拷贝到`/usr/local/`目录下
Expand Down Expand Up @@ -85,8 +85,8 @@ hello

## 安装步骤
```
go get github.com/irisnet/iris-hub
cd $GOPATH/src/github.com/irisnet/iris-hub
go get github.com/irisnet/irishub
cd $GOPATH/src/github.com/irisnet/irishub
make all
iris version
```
Expand All @@ -105,7 +105,7 @@ iris client keys new $MYNAME
iris client keys list
MYADDR=<your newly generated address>
```
2. 初始化iris-hub:
2. 初始化irishub:

```
iris node init $MYADDR --home=$HOME/.iris1 --chain-id=test
Expand Down
5 changes: 4 additions & 1 deletion cmd/iris/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import (
dbm "github.com/tendermint/tmlibs/db"
"github.com/tendermint/tmlibs/log"
"github.com/cosmos/cosmos-sdk/server"
"github.com/irisnet/iris-hub/app"
"github.com/irisnet/irishub/app"
"github.com/irisnet/irishub/version"
)

func main() {
Expand All @@ -28,6 +29,8 @@ func main() {
server.ConstructAppCreator(newApp, "iris"),
server.ConstructAppExporter(exportAppStateAndTMValidators, "iris"))


rootCmd.AddCommand(version.VersionCmd)
// prepare and add flags
executor := cli.PrepareBaseCmd(rootCmd, "IRIS", app.DefaultNodeHome)
executor.Execute()
Expand Down
6 changes: 3 additions & 3 deletions cmd/iriscli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ import (
ibccmd "github.com/cosmos/cosmos-sdk/x/ibc/client/cli"
slashingcmd "github.com/cosmos/cosmos-sdk/x/slashing/client/cli"
stakecmd "github.com/cosmos/cosmos-sdk/x/stake/client/cli"
"github.com/irisnet/iris-hub/app"
"github.com/irisnet/iris-hub/version"
"github.com/irisnet/irishub/app"
"github.com/irisnet/irishub/version"
)

// rootCmd is the entry point for this binary
var (
rootCmd = &cobra.Command{
Use: "iriscli",
Short: "iris-hub light-client",
Short: "irishub light-client",
}
)

Expand Down

0 comments on commit 697a53d

Please sign in to comment.