摘要: 1、 install nodejs curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash - 2、安装pm2 npm install pm2 -g 3、获取pm2 安装路径 npm config get p 阅读全文
posted @ 2017-10-19 09:11 heisama 阅读(537) 评论(0) 推荐(0)
摘要: 在服务器不能联网的情况下: 在可以联网的机器上: npm install pm2 -g 全局安装pm2; 然后查看一下本地安装的默认路径: npm config get prefix, 在其 lib/node_modules/ 将pm2文件夹打包。 将打包后的文件部署到测试服务器上, 在测试服务器用 阅读全文
posted @ 2017-10-18 16:02 heisama 阅读(287) 评论(0) 推荐(0)
摘要: git pull 拉下最新版本。 git add . git commit 输入提交信息 esc返回 :wq保存 git push .git保存着当前仓库的信息。git bash here的时候,要确保有.git存在。 READ.md文件很恶心。 git checkout 回退工作区 用法有三种: 阅读全文
posted @ 2017-10-12 13:44 heisama 阅读(96) 评论(0) 推荐(0)