常用命令

mac2024-09-28  52

多人合作开发

git add . git commit -m"" git checkout dev git pull orgin master git checkout 分支 git merge git pusj origin 分支

阿里云服务器启动node(能够退出命令行后node继续运行) cd到app的文件夹

nohup node app.js & exit

Nginx重启 Nginx位于/usr/local/nginx (本人的位置)

./sbin nginx -s reload

Nginx配置文件 位于/usr/local/nginx/conf/nginx.conf

更新UI组件库

npm run build git add . git commit -m"" git push origin master npm config set registry https://registry.npmjs.org/ npm login npm version patch npm publish

切换淘宝源

npm config set registry http://registry.npm.taobao.org/
最新回复(0)