1 Star 0 Fork 0

老公司经典项目 / background-app-ts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 638 Bytes
一键复制 编辑 原始数据 按行查看 历史

后台运行小应用

main分支是主分支。

# 安装
pnpm install

# 运行
pnpm run start

服务器部署命令

pm2json文件启动并配置多环境 pm2 start pm2.json --env development pm2 start pm2.json --env qa pm2 start pm2.json --env rc pm2 start pm2.json --env production

关闭

pm2 stop background-server pm2 stop all

停止所有

pm2 delete all

直接启动pm2 NODE_ENV=development pm2 start src/index.js --name "background" NODE_ENV=qa pm2 start src/index.js --name "background" NODE_ENV=rc pm2 start src/index.js --name "background" NODE_ENV=prod pm2 start src/index.js --name "background"

1
https://gitee.com/yinwei-international/background-app-ts.git
git@gitee.com:yinwei-international/background-app-ts.git
yinwei-international
background-app-ts
background-app-ts
main

搜索帮助