mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-16 06:41:19 +00:00
docs: update JS section of abci-cli.md (#3747)
This commit is contained in:
committed by
Anton Kaliaev
parent
e93e8e730d
commit
eb08609de1
@ -326,10 +326,18 @@ application easily in any language.
|
|||||||
We have implemented the counter in a number of languages [see the
|
We have implemented the counter in a number of languages [see the
|
||||||
example directory](https://github.com/tendermint/tendermint/tree/develop/abci/example).
|
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
|
(you'll have to kill the other counter application process). In another
|
||||||
|
Reference in New Issue
Block a user