Add production site setup guide and related install scripts

This commit is contained in:
wiz
2020-05-25 20:58:46 +09:00
parent 003361befb
commit ecbc3e7580
5 changed files with 222 additions and 1 deletions

View File

@@ -2,8 +2,10 @@
for site in mainnet liquid testnet
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/"