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": {
|
||||
"build": "tsc",
|
||||
"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"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -2,7 +2,7 @@
|
||||
for site in mainnet liquid testnet
|
||||
do
|
||||
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
|
||||
|
||||
#cd "${HOME}/webhook/"
|
||||
|
Loading…
Reference in New Issue
Block a user