From a550ed711d39bbc6c10f0c91c643b15afad36a1c Mon Sep 17 00:00:00 2001 From: Jon Layton Date: Wed, 28 Mar 2018 07:18:12 +0000 Subject: [PATCH] Demonstrate adding example apps as services --- btcp_explorer.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/btcp_explorer.sh b/btcp_explorer.sh index 3941247..7189e8c 100755 --- a/btcp_explorer.sh +++ b/btcp_explorer.sh @@ -60,6 +60,21 @@ cd btcp-explorer # Install Insight API / UI (Explorer) (Headless) ../node_modules/bitcore-node-btcp/bin/bitcore-node install BTCPrivate/insight-api-btcp BTCPrivate/insight-ui-btcp +# !!! OPTIONAL [TODO present cli options] Install store-demo +cd ~ +git clone https://github.com/BTCPrivate/store-demo +cd btcp-explorer/node_modules +ln -s ~/store-demo + +# !!! OPTIONAL [TODO present cli options] Install address-watch +cd ~ +git clone https://github.com/BTCPrivate/address-watch +cd btcp-explorer/node_modules +ln -s ~/address-watch + +# Create config file for Bitcore +# !!! OPTIONAL TODO add store-demo and address-watch to services as specified + # Create config file for Bitcore cat << EOF > bitcore-node.json { @@ -90,7 +105,7 @@ cat << EOF > bitcore-node.json EOF -echo "To start the block explorer, run:" +echo "To start the daemon and all services, run:" echo "./bitcore-btcp/start.sh" echo "\n" echo "To view the explorer in your browser - http://server_ip:8001"