mirror of
https://github.com/mempool/mempool.git
synced 2025-01-18 05:12:35 +01:00
Remove duplicate npm install and build steps in production scripts
This commit is contained in:
parent
9af0015c22
commit
b9d9875e98
@ -22,7 +22,6 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"start": "npm run build && node dist/index.js",
|
"start": "npm run build && node dist/index.js",
|
||||||
"production": "npm install && npm run build && node dist/index.js",
|
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
for site in mainnet liquid testnet
|
for site in mainnet liquid testnet
|
||||||
do
|
do
|
||||||
cd "${HOME}/${site}/backend/"
|
cd "${HOME}/${site}/backend/"
|
||||||
screen -dmS "${site}" sh -c 'while true;do npm run production;sleep 1;done'
|
screen -dmS "${site}" sh -c 'while true;do npm run start;sleep 1;done'
|
||||||
done
|
done
|
||||||
|
|
||||||
#cd "${HOME}/webhook/"
|
#cd "${HOME}/webhook/"
|
||||||
|
Loading…
Reference in New Issue
Block a user