Browse Source

[tm-monitor] update readme

Refs #92
pull/1943/head
Anton Kaliaev 6 years ago
parent
commit
399c7ea8ed
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 23 additions and 4 deletions
  1. +23
    -4
      tm-monitor/README.rst

+ 23
- 4
tm-monitor/README.rst View File

@ -12,22 +12,40 @@ Quick Start
Docker
~~~~~~
Assuming your application is running in another container with the name ``app``:
::
docker run -it --rm -v "/tmp:/tendermint" tendermint/tendermint init
docker run -it --rm -v "/tmp:/tendermint" -p "46657:46657" --name=tm --link=app tendermint/tendermint node --proxy_app=tcp://app:46658
docker run -it --rm -p "46670:46670" --link=tm tendermint/monitor tm:46657
If you don't have an application yet, but still want to try monitor out, use ``kvstore``:
::
docker run -it --rm -v "/tmp:/tendermint" tendermint/tendermint init
docker run -it --rm -v "/tmp:/tendermint" -p "46657:46657" --name=tm tendermint/tendermint
docker run -it --rm -v "/tmp:/tendermint" -p "46657:46657" --name=tm tendermint/tendermint node --proxy_app=kvstore
docker run -it --rm --link=tm tendermint/monitor tm:46657
docker run -it --rm -p "46670:46670" --link=tm tendermint/monitor tm:46657
Binaries
~~~~~~~~
This will be the same as you did for ``tm-bench`` above, except for the last line which should be:
::
tm-monitor localhost:46657
Build from source
~~~~~~~~~~~~~~~~~
::
make get_tools
make get_vendor_deps
make install
Usage
^^^^^
@ -70,5 +88,6 @@ Development
::
make get_tools
make get_vendor_deps
make test

Loading…
Cancel
Save