Demonstrate adding example apps as services

This commit is contained in:
Jon Layton 2018-03-28 07:18:12 +00:00
parent d5a08b9c31
commit a550ed711d
1 changed files with 16 additions and 1 deletions

View File

@ -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"