update readme

This commit is contained in:
Matias Alejo Garcia 2017-11-13 00:10:07 -03:00
parent 5a61a2e34a
commit d3267f47ef

View File

@ -7,18 +7,18 @@ This is a backend-only service. If you're looking for the web frontend applicati
## Getting Started ## Getting Started
```bashl ```bashl
npm install -g bitcore-node@latest npm install -g bitcore@latest
bitcore-node create mynode bitcore create mynode
cd mynode cd mynode
bitcore-node install insight-api bitcore install insight-api
bitcore-node start bitcore start
``` ```
The API endpoints will be available by default at: `http://localhost:3001/insight-api/` The API endpoints will be available by default at: `http://localhost:3001/insight-api/`
## Prerequisites ## Prerequisites
- [Bitcore Node 3.x](https://github.com/bitpay/bitcore-node) - [Bitcore 5.x](https://github.com/bitpay/bitcore)
**Note:** You can use an existing Bitcoin data directory, however `txindex`, `addressindex`, `timestampindex` and `spentindex` needs to be set to true in `bitcoin.conf`, as well as a few other additional fields. **Note:** You can use an existing Bitcoin data directory, however `txindex`, `addressindex`, `timestampindex` and `spentindex` needs to be set to true in `bitcoin.conf`, as well as a few other additional fields.