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

This commit is contained in:
Mengjay Gao
2019-06-25 14:56:03 +08:00
committed by Anton Kaliaev
parent e93e8e730d
commit eb08609de1

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