mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
Install production backend/frontend configurations from master
This commit is contained in:
parent
597c62ede3
commit
9786f1794f
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@ do
|
|||
mkdir -p "${HOME}/public_html/${site}/"
|
||||
|
||||
cd "${HOME}/${site}/backend/"
|
||||
cp "../production/mempool-config.${site}.json" "mempool-config.json"
|
||||
cp "${HOME}/mempool/production/mempool-config.${site}.json" "mempool-config.json"
|
||||
|
||||
npm install
|
||||
npm run build
|
||||
|
@ -15,6 +15,7 @@ do
|
|||
if [ "${site}" = "mainnet" ]
|
||||
then
|
||||
cd "${HOME}/${site}/frontend/"
|
||||
cp "${HOME}/mempool/production/mempool-frontend-config.${site}.json" "mempool-frontend-config.json"
|
||||
npm install
|
||||
npm run build
|
||||
rsync -av ./dist/mempool/browser/* "${HOME}/public_html/${site}/"
|
||||
|
|
Loading…
Add table
Reference in a new issue