Skip to content

Commit

Permalink
update install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
danil-lashin committed Jun 13, 2018
1 parent b33f458 commit 0e9a7d1
Showing 1 changed file with 42 additions and 10 deletions.
52 changes: 42 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,55 @@ _NOTE: This is alpha software. Please contact us if you intend to run it in prod
You'll need [docker](https://docker.com/) and [docker compose](https://docs.docker.com/compose/) installed.

Clone Minter to your machine
```
git clone https://github.com/MinterTeam/minter-go-node.git
cd minter
```bash
$ git clone https://github.com/MinterTeam/minter-go-node.git
$ cd minter-go-node
```

Prepare configs
```
mkdir -p ~/.tendermint/data
mkdir -p ~/.minter/data
```bash
$ mkdir -p ~/.tendermint/data
$ mkdir -p ~/.minter/data

chmod -R 0777 ~/.tendermint
chmod -R 0777 ~/.minter
$ chmod -R 0777 ~/.tendermint
$ chmod -R 0777 ~/.minter

cp -R networks/testnet/ ~/.tendermint/config
$ cp -R networks/testnet/ ~/.tendermint/config
```

Start Minter
```bash
$ docker-compose up
```
docker-compose up

## Build and run manually

Install [Tendermint 0.20](https://github.com/tendermint/tendermint/blob/master/docs/install.rst)

```bash
$ mkdir $GOPATH/src/github.com/MinterTeam
$ cd $GOPATH/src/github.com/MinterTeam
$ git clone https://github.com/MinterTeam/minter-go-node.git

$ cd minter-go-node
$ make get_tools
$ make get_vendor_deps

$ make install

$ mkdir -p ~/.tendermint/data
$ mkdir -p ~/.minter/data

$ cp -R networks/testnet/ ~/.tendermint/config
```

Run Tendermint
```bash
$ tendermint node
```

Run Minter

```bash
$ minter
```

0 comments on commit 0e9a7d1

Please sign in to comment.