mirror of
https://github.com/mempool/mempool.git
synced 2024-12-29 09:44:26 +01:00
Merge pull request #1345 from mempool/wiz/add-production-frontend-configurations
Install production backend/frontend configurations from master
This commit is contained in:
commit
d84bf66c35
@ -7,7 +7,7 @@ do
|
|||||||
mkdir -p "${HOME}/public_html/${site}/"
|
mkdir -p "${HOME}/public_html/${site}/"
|
||||||
|
|
||||||
cd "${HOME}/${site}/backend/"
|
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 install
|
||||||
npm run build
|
npm run build
|
||||||
@ -15,6 +15,7 @@ do
|
|||||||
if [ "${site}" = "mainnet" ]
|
if [ "${site}" = "mainnet" ]
|
||||||
then
|
then
|
||||||
cd "${HOME}/${site}/frontend/"
|
cd "${HOME}/${site}/frontend/"
|
||||||
|
cp "${HOME}/mempool/production/mempool-frontend-config.${site}.json" "mempool-frontend-config.json"
|
||||||
npm install
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
rsync -av ./dist/mempool/browser/* "${HOME}/public_html/${site}/"
|
rsync -av ./dist/mempool/browser/* "${HOME}/public_html/${site}/"
|
||||||
|
Loading…
Reference in New Issue
Block a user