mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 17:24:25 +01:00
15 lines
411 B
Bash
Executable File
15 lines
411 B
Bash
Executable File
#!/usr/local/bin/zsh
|
|
for site in mainnet liquid testnet bisq
|
|
do
|
|
git clone https://github.com/mempool/mempool "${HOME}/${site}"
|
|
mkdir -p "${HOME}/public_html/${site}/"
|
|
cd "${HOME}/${site}/backend/"
|
|
cp "../production/mempool-config.${site}.json" "mempool-config.json"
|
|
touch cache.json
|
|
npm install
|
|
npm run build
|
|
cd "${HOME}/${site}/frontend/"
|
|
npm install
|
|
npm run build
|
|
done
|