Untab for better shell style
This commit is contained in:
parent
b6eb0a1c7d
commit
e3cb219cbf
|
@ -63,8 +63,8 @@ install_nvm_npm() {
|
|||
nvm alias default v4
|
||||
}
|
||||
|
||||
# -- Bitcore --
|
||||
install_bitcore() {
|
||||
|
||||
# Install Bitcore (Headless)
|
||||
npm install BTCPrivate/bitcore-node-btcp
|
||||
|
||||
|
@ -92,6 +92,7 @@ install_bitcore() {
|
|||
|
||||
# Create config file for Bitcore
|
||||
# !!! OPTIONAL TODO add store-demo and address-watch to services as specified
|
||||
|
||||
cat << EOF > bitcore-node.json
|
||||
{
|
||||
"network": "livenet",
|
||||
|
@ -120,9 +121,13 @@ install_bitcore() {
|
|||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
}
|
||||
|
||||
echo "Begin"
|
||||
# Begin
|
||||
echo "Begin Setup."
|
||||
echo \n
|
||||
|
||||
cd ~
|
||||
|
||||
#clone_and_build_btcp
|
||||
|
@ -130,12 +135,11 @@ cd ~
|
|||
#install_nvm_npm
|
||||
|
||||
install_bitcore
|
||||
|
||||
echo "Complete."
|
||||
|
||||
|
||||
echo \n
|
||||
echo "To start the bitcore-node, run (from btcp-explorer):"
|
||||
echo "nvm use v4; ./node_modules/bitcore-node/bin/bitcore-node start"
|
||||
echo "\n"
|
||||
echo \n
|
||||
echo "To view the explorer in your browser - http://server_ip:8001"
|
||||
echo "For https, we recommend you route through Cloudflare."
|
||||
|
||||
echo "For https, we recommend you route through Cloudflare. bitcore-node also supports it via the config; provide certs."
|
||||
|
|
Loading…
Reference in New Issue