How to spring up couchdb in Hyperledger fabric in development mode for chaincode because by default its takes leveldb as a state database. So in order to perform rich queries couchdb has to be used as state database (I am following Hyperledger fabric official documentation).
Asked
Active
Viewed 40 times
-1

Vadim Kotov
- 8,084
- 8
- 48
- 62

Kundan Kumar
- 14
-
Do you mean "spin" instead of "sping"? – Jonathan Hall Jun 13 '19 at 15:29
-
which fabric version are you using, and what do you mean exactly by "development mode"? – adnan.c Jun 14 '19 at 14:35
1 Answers
0
CouchDB isn't embedded in Fabric like LevelDB is. You have to run the instance yourself and then configure Fabric to use it. See the official documentarion here for configuring it:
https://hyperledger-fabric.readthedocs.io/en/release-1.4/couchdb_tutorial.html

lindluni
- 505
- 4
- 6