Demonstrate adding example apps as services
This commit is contained in:
parent
d5a08b9c31
commit
a550ed711d
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue