Changing docs for cosmos-sdk-cli - including $ before beginning shell command
This commit is contained in:
parent
fcab14435d
commit
9c5406891e
|
@ -6,29 +6,29 @@ Create a new blockchain project based on cosmos-sdk with a single command.
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go get github.com/cosmos/cosmos-sdk
|
$go get github.com/cosmos/cosmos-sdk
|
||||||
cd $GOPATH/src/github.com/cosmos/cosmos-sdk
|
$cd $GOPATH/src/github.com/cosmos/cosmos-sdk
|
||||||
make all
|
$make install_cosmos-sdk-cli
|
||||||
```
|
```
|
||||||
|
|
||||||
This will install a binary cosmos-sdk-cli
|
This will install a binary cosmos-sdk-cli
|
||||||
|
|
||||||
# Creating a new project
|
# Creating a new project
|
||||||
|
|
||||||
**cosmos-sdk-cli init** _Your-Project-Name_
|
**$cosmos-sdk-cli init** _Your-Project-Name_
|
||||||
|
|
||||||
This will initialize a project, the dependencies, directory structures with the specified project name.
|
This will initialize a project, the dependencies, directory structures with the specified project name.
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
```shell
|
```shell
|
||||||
cosmos-sdk-cli init testzone -p github.com/your_user_name/testzone
|
$cosmos-sdk-cli init testzone -p github.com/your_user_name/testzone
|
||||||
```
|
```
|
||||||
-p remote project path (optional). If this is not provided, it creates testzone under $GOPATH/src/
|
-p remote project path (optional). If this is not provided, it creates testzone under $GOPATH/src/
|
||||||
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
cd $GOPATH/src/github.com/your_user_name/testzone
|
$cd $GOPATH/src/github.com/your_user_name/testzone
|
||||||
make
|
$make
|
||||||
```
|
```
|
||||||
This will create two binaries(basecli and basecoind) under bin folder. basecoind is the full node of the application which you can run, and basecli is your light client.
|
This will create two binaries(testzonecli and testzoned) under bin folder. testzoned is the full node of the application which you can run, and testzonecli is your light client.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue