修改上传文件和初始化环境的脚本

This commit is contained in:
liangtongchuan
2021-12-26 22:31:33 +08:00
parent a1879a5530
commit e2537c1021
2 changed files with 10 additions and 0 deletions

4
scripts/envInit.sh Executable file
View File

@@ -0,0 +1,4 @@
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
apt-get install -y nodejs
npm config set registry https://registry.npm.taobao.org
npm install -g pm2