diff --git a/examples/file-feed/complete/src/ff-cli/add-file.js b/examples/file-feed/complete/src/ff-cli/add-file.js index 5276de4b36..67d6882eb7 100644 --- a/examples/file-feed/complete/src/ff-cli/add-file.js +++ b/examples/file-feed/complete/src/ff-cli/add-file.js @@ -8,13 +8,15 @@ const readFileContents = require('./read-file-contents') const nodeOptions = require('./node1.config.js') function addFile (feed, fileToAdd) { + console.log('Connecting to go-ipfs daemon...') const node = ipfsApi('localhost', 5001) + console.log('Initialize OrbitDB') const orbitdb = new OrbitDB(node) const db = orbitdb.eventlog(feed, { cachePath: nodeOptions.orbitdbPath }) db.events.on('ready', () => { - console.log('Database ready.') + console.log('Database ready') console.log() console.log('Searching for peers...') diff --git a/examples/file-feed/complete/src/ff-cli/node1.config.js b/examples/file-feed/complete/src/ff-cli/node1.config.js index d382ff6a9c..8013c9fdd8 100644 --- a/examples/file-feed/complete/src/ff-cli/node1.config.js +++ b/examples/file-feed/complete/src/ff-cli/node1.config.js @@ -1,7 +1,5 @@ 'use strict' module.exports = { - path: './ff-cli-data/node1/ipfs', - orbitdbPath: './ff-cli-data/node1/orbitdb', - signalAddr: '/dns4/star-signal.cloud.ipfs.team' + orbitdbPath: './cli-data/node1/orbitdb' }