|
|
@ -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 |
|
|
|