35 Star 220 Fork 58

泡泡机不冒泡了 / Artipub

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 745 Bytes
一键复制 编辑 原始数据 按行查看 历史
泡泡机不冒泡了 提交于 2021-03-12 13:43 . 文档

ArtiPub 后端模块

从 0.1.6 开始前后端分开打包, 对应前端包 artipub-frontend

启动命令

//全局安装
npm i -g artipub-backend --production

//默认启动 http://localhost:3000, 确保本地 mongodb 已经启动在 27017 端口
artipub-be start

//查看其他配置参数
artipub-be start --help

//加 -D 可以后台启动服务,使用的是pm2,配置见 ecosystem.config.js 
artipub-be start -D
pm2 list
//非全局安装
npm i artipub-backend --production

//安装目录下执行, 确保npm 5+, 有npx命令
npx artipub-be start

//或者
./node_modules/.bin/artipub-be start

//查看其他配置参数
npx artipub-be start --help
JavaScript
1
https://gitee.com/tanliyuan/artipub.git
git@gitee.com:tanliyuan/artipub.git
tanliyuan
artipub
Artipub
master

搜索帮助