Merge pull request #11 from daniel-farina/master

Fixed wrong URL & allow root for bower
This commit is contained in:
Daniel Farina 2018-07-11 03:21:31 -04:00 committed by GitHub
commit 30cbbbd661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -142,7 +142,7 @@ cd ~/BitcoinPrivate/src
local RELEASE="1.0.12"
local COMMIT="69aa9ce"
local FILE="btcp-${RELEASE}-explorer-${COMMIT}-linux.tar.gz"
wget -c https://github.com/BTCPrivate/BitcoinPrivate/releases/download/v${RELEASE}-${COMMIT}/${FILE}
wget -c https://github.com/BTCPrivate/BitcoinPrivate/releases/download/${RELEASE}-${COMMIT}/${FILE}
tar -zxvf $FILE
echo "Downloading and extracting BTCP files - Done."
rm -rf $FILE
@ -244,7 +244,7 @@ install_bower_browserify_js_libs() {
# Build bitcore-lib-btcp.js + copy to invoice server's js/ dir
cd ~/btcp-explorer/node_modules/store-demo
bower install
bower install --allow-root
cd node_modules/bitcore-lib-btcp
browserify --require ./index.js:bitcore-lib-btcp -o bitcore-lib-btcp.js
cp bitcore-lib-btcp.js ~/btcp-explorer/node_modules/store-demo/static/js/bitcore-lib-btcp