From 0245341bfd9122a8eaa4996e379865b28e36f2d2 Mon Sep 17 00:00:00 2001 From: Oli Evans Date: Thu, 27 Sep 2018 11:11:24 +0100 Subject: [PATCH 1/3] feat: show Web UI url in daemon output - make it easier for people to discover the Web UI - tidy up inconsistencies across the log lines - add IPFS to the first line. confirm to new users they started what they expected to. fixes https://github.com/ipfs-shipyard/ipfs-webui/issues/815 License: MIT Signed-off-by: Oli Evans --- src/cli/commands/daemon.js | 2 +- src/http/index.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/cli/commands/daemon.js b/src/cli/commands/daemon.js index 78a2213e78..6102d63673 100644 --- a/src/cli/commands/daemon.js +++ b/src/cli/commands/daemon.js @@ -28,7 +28,7 @@ module.exports = { }, handler (argv) { - print('Initializing daemon...') + print('Initializing IPFS daemon...') const repoPath = utils.getRepoPath() diff --git a/src/http/index.js b/src/http/index.js index ed1edce219..2d7781fc3f 100644 --- a/src/http/index.js +++ b/src/http/index.js @@ -155,8 +155,9 @@ function HttpApi (repo, config, cliArgs) { api.info.ma = uriToMultiaddr(api.info.uri) gateway.info.ma = uriToMultiaddr(gateway.info.uri) - console.log('API is listening on: %s', api.info.ma) - console.log('Gateway (readonly) is listening on: %s', gateway.info.ma) + console.log('API listening on %s', api.info.ma) + console.log('Gateway (read only) listening on %s', gateway.info.ma) + console.log('Web UI available at %s', api.info.uri + '/webui') // for the CLI to know the where abouts of the API this.node._repo.apiAddr.set(api.info.ma, cb) From c58fbbd4c97c3cab5ab29357d761df4d92d2d871 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 19 Oct 2018 10:26:10 +0100 Subject: [PATCH 2/3] chore: temporarily use ipfsd-ctl branch License: MIT Signed-off-by: Alan Shaw --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7b3aa922d1..1a96428327 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "form-data": "^2.3.2", "hat": "0.0.3", "interface-ipfs-core": "~0.78.0", - "ipfsd-ctl": "~0.39.1", + "ipfsd-ctl": "ipfs/js-ipfsd-ctl#fix/cli-scraping", "mocha": "^5.2.0", "ncp": "^2.0.0", "nexpect": "~0.5.0", From c20187756cca7fc4fa24c36aea8d08e0d2d6ab6b Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Fri, 19 Oct 2018 11:50:08 +0100 Subject: [PATCH 3/3] chore: update to latest ipfsd-ctl License: MIT Signed-off-by: Alan Shaw --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1a96428327..0cf550cf4c 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "form-data": "^2.3.2", "hat": "0.0.3", "interface-ipfs-core": "~0.78.0", - "ipfsd-ctl": "ipfs/js-ipfsd-ctl#fix/cli-scraping", + "ipfsd-ctl": "~0.39.3", "mocha": "^5.2.0", "ncp": "^2.0.0", "nexpect": "~0.5.0",