From 838d35b2946f2ff10bc1c107a2de922fa368e4b2 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Tue, 8 Dec 2015 15:38:16 -0500 Subject: [PATCH] Docs update - Some users are confused on whether or not they can use the home directory expansion shortcut. - Changed to absolute example path to more accurately demonstrate. --- docs/node.md | 2 +- docs/scaffold.md | 2 +- docs/services.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/node.md b/docs/node.md index 330ab64b..69204f55 100644 --- a/docs/node.md +++ b/docs/node.md @@ -19,7 +19,7 @@ var Bitcoin = index.services.Bitcoin; var Node = index.Node; var configuration = { - datadir: '~/.bitcoin', + datadir: '/home/user/.bitcoin', network: 'testnet', services: [ { diff --git a/docs/scaffold.md b/docs/scaffold.md index 2ba2909f..3b0fa7ae 100644 --- a/docs/scaffold.md +++ b/docs/scaffold.md @@ -11,7 +11,7 @@ This function will load a configuration file `bitcore-node.json` and instantiate This function will recursively find a configuration `bitcore-node.json` file in parent directories and return the result. ## Default Config -This function will return a default configuration with the default services based on environment variables, and will default to using the standard `~/.bitcoin` data directory. +This function will return a default configuration with the default services based on environment variables, and will default to using the standard `/home/user/.bitcoin` data directory. ## Uninstall This function will remove a service from a node by uninstalling the necessary dependencies and modifying the `bitcore-node.json` configuration. diff --git a/docs/services.md b/docs/services.md index fa703aaa..34f948f2 100644 --- a/docs/services.md +++ b/docs/services.md @@ -43,7 +43,7 @@ var DB = bitcore.services.DB; var Web = bitcore.services.Web; var myNode = new bitcore.Node({ - datadir: '~/.bitcore', + datadir: '/home/user/.bitcore', network: { name: 'livenet' },