mediachain / mediachain-indexer

search, dedupe, and media ingestion for mediachain
33 stars 14 forks source link

if MC_IPFS_ADD_LOCAL_INT env var is set, only add to local ipfs #34

Closed yusefnapora closed 7 years ago

yusefnapora commented 7 years ago

This depends on https://github.com/mediachain/mediachain-client/pull/99 - maybe we should bump the client version.

adds a new mc_confic var MC_IPFS_ADD_LOCAL_INT which will prevent us from actually adding anything to ipfs during ingestion. We'll still get a hash that will resolve if we add the images, etc later. In the future we'll probably update this to also add to the local ipfs repo but skip the network, but for now it just hashes and doesn't add at all.

parkan commented 7 years ago

API change = version bump, sounds good to me