mirror of
https://github.com/mempool/mempool.git
synced 2025-01-19 13:43:45 +01:00
ops: Update build/unfurler stuff for onbtc
This commit is contained in:
parent
f5333c529c
commit
f9948055e4
@ -129,7 +129,7 @@ export NVM_DIR="${HOME}/.nvm"
|
||||
source "${NVM_DIR}/nvm.sh"
|
||||
|
||||
# what to look for
|
||||
frontends=(mainnet liquid)
|
||||
frontends=(mainnet liquid onbtc)
|
||||
backends=(mainnet testnet signet liquid liquidtestnet)
|
||||
frontend_repos=()
|
||||
backend_repos=()
|
||||
@ -151,7 +151,7 @@ for repo in $backend_repos;do
|
||||
done
|
||||
|
||||
# build unfurlers
|
||||
for repo in mainnet liquid;do
|
||||
for repo in $frontend_repos;do
|
||||
build_unfurler "${repo}"
|
||||
done
|
||||
|
||||
@ -166,7 +166,7 @@ for repo in $frontend_repos;do
|
||||
done
|
||||
|
||||
# ship frontend dist folders to public_html
|
||||
for target in mainnet liquid;do
|
||||
for target in $frontend_repos;do
|
||||
ship_frontend "${target}"
|
||||
done
|
||||
|
||||
|
@ -15,7 +15,7 @@ screen -dmS x startx
|
||||
sleep 3
|
||||
|
||||
# start unfurlers for each frontend
|
||||
for site in mainnet liquid ;do
|
||||
for site in mainnet liquid onbtc;do
|
||||
cd "$HOME/${site}/unfurler" && \
|
||||
echo "starting mempool unfurler: ${site}" && \
|
||||
screen -dmS "unfurler-${site}" sh -c 'while true;do npm run unfurler;sleep 2;done'
|
||||
|
@ -1,12 +1,12 @@
|
||||
{
|
||||
"SERVER": {
|
||||
"HOST": "https://bisq.fra.mempool.space",
|
||||
"HTTP_PORT": 8002
|
||||
"HOST": "https://onbtc.tk7.mempool.space",
|
||||
"HTTP_PORT": 8003
|
||||
},
|
||||
"MEMPOOL": {
|
||||
"HTTP_HOST": "http://127.0.0.1",
|
||||
"HTTP_PORT": 82,
|
||||
"NETWORK": "bisq"
|
||||
"HTTP_PORT": 83,
|
||||
"NETWORK": "onbtc"
|
||||
},
|
||||
"PUPPETEER": {
|
||||
"CLUSTER_SIZE": 8,
|
Loading…
Reference in New Issue
Block a user