Browse Source

docs: update JS section of abci-cli.md (#3747)

pull/3756/head
Mengjay Gao 5 years ago
committed by Anton Kaliaev
parent
commit
eb08609de1
1 changed files with 10 additions and 2 deletions
  1. +10
    -2
      docs/app-dev/abci-cli.md

+ 10
- 2
docs/app-dev/abci-cli.md View File

@ -326,10 +326,18 @@ application easily in any language.
We have implemented the counter in a number of languages [see the
example directory](https://github.com/tendermint/tendermint/tree/develop/abci/example).
To run the Node JS version, `cd` to `example/js` and run
To run the Node.js version, fist download & install [the Javascript ABCI server](https://github.com/tendermint/js-abci):
```
node app.js
git clone https://github.com/tendermint/js-abci.git
cd js-abci
npm install abci
```
Now you can start the app:
```bash
node example/counter.js
```
(you'll have to kill the other counter application process). In another


Loading…
Cancel
Save