摘要: 1、首先在项目根目录使用 pm2 启动项目 ```js pm2 start ./dist/main.js ``` 2、生成开机启动 pm2 服务的配置文件 运行:pm2 startup 命令,会生成以下命令 ```js To setup the Startup Script, copy/paste 阅读全文
posted @ 2022-09-05 10:18 小猪冒泡 阅读(4522) 评论(0) 推荐(0) 编辑