linux 下重启项目并更新服务端代码

128 阅读1分钟
\# service mongod stop #关闭MongoDB
\# service mongod start #启动mongodb
cd /usr/local/tea-room
npm stop
git pull
npm start