build shell refactoring
This commit is contained in:
parent
2910ffb93d
commit
d7e729c505
@ -25,7 +25,7 @@ cd ~/bin
|
|||||||
|
|
||||||
[ ! -d "www" ] && git clone https://github.com/cubedro/eth-net-intelligence-api www
|
[ ! -d "www" ] && git clone https://github.com/cubedro/eth-net-intelligence-api www
|
||||||
cd www
|
cd www
|
||||||
sudo npm install
|
npm install
|
||||||
sudo npm install pm2 -g
|
npm install pm2 -g
|
||||||
|
|
||||||
cp -b ./processes-go.json ./../processes.json
|
cp -b ./processes-go.json ./../processes.json
|
||||||
|
@ -51,7 +51,7 @@ cd ~/bin
|
|||||||
|
|
||||||
[ ! -d "www" ] && git clone https://github.com/cubedro/eth-net-intelligence-api www
|
[ ! -d "www" ] && git clone https://github.com/cubedro/eth-net-intelligence-api www
|
||||||
cd www
|
cd www
|
||||||
sudo npm install
|
npm install
|
||||||
sudo npm install pm2 -g
|
npm install pm2 -g
|
||||||
|
|
||||||
cp -b ./processes.json ./..
|
cp -b ./processes.json ./..
|
||||||
|
Loading…
Reference in New Issue
Block a user