fabu.love

应用发布平台类似fir.im/蒲公英,支持检查更新,灰度发布等等.Demo地址:https://fabu.apppills.com/

Github stars Tracking Chart


typora-copy-images-to: ./screenshots

爱发布

demo地址: https://fabu.apppills.com/
该平台是类似于fir.im/蒲公英类似的一个平台.可以自己部署.

项目前后端分离开发:

前端使用 vue + element-ui

后端使用 nodejs + koa

Artboard

项目结构

.
├── LICENSE
├── README.md
├── client //web端代码 vue + element UI
├── docker  //使用docker部署的配置文件
├── fabu_nginx.conf  //server端nginx配置文件
├── screenshots  //屏幕截图
├── server  //服务端代码node+koa
└── wiki //todo 还在编写中

运行步骤

使用docker运行(建议)

ps:请先安装docker

  1. 下载源码 git clone https://github.com/HeadingMobile/fabu.love.git
  2. 执行cd docker
  3. 执行docker-compose up -d --build
  4. 打开浏览器 http://0.0.0.0:9898

本地运行

运行前准备

  • 安装 MongoDB (3.6)
  • 安装 Nodejs
  • 安装 pm2、babel-node
npm install -g pm2 babel-cli
  • 安装 cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org

1.clone 下载代码 git clone https://github.com/HeadingMobile/LoveFabu.git

2.运行server端

#进入项目根目录
cd server
cnpm install  #安装依赖
npm start

=============>>out
...
...
App is listening on 9898.
数据库连接成功
=============>>end

3.编译运行前端页面

cd client
cnpm install
npm run build #正式环境可以用该命令编译静态文件交给nginx
npm run dev  #本地运行可以使用该命令

============>>out
...
...
 DONE  Compiled successfully in 18546ms                                                
 I  Your application is running here: http://0.0.0.0:9898
============>>end

4.使用浏览器打开进入http://localhost:9898即可进入应用

项目配置说明

前端配置

无需配置

后端配置

参见 server/config.js

//需要修改配置可以修改config.js文件,也可以在部署的时候导出环境变量
//比如 export FABU_BASE_URL=https://127.0.0.1:9898

const common = {
    //baseUrl应用请求的url地址,比如https://fabu.love
    baseUrl: process.env.FABU_BASE_URL

Main metrics

Overview
Name With Ownerrock-app/fabu.love
Primary LanguageC
Program languageJavaScript, HTML, Vue, CSS, Shell, Makefile, C, Dockerfile (Language Count: 9)
PlatformDocker, Linux, Mac, Windows
License:Apache License 2.0
所有者活动
Created At2018-06-13 08:34:50
Pushed At2025-04-09 13:15:23
Last Commit At2025-01-14 00:13:33
Release Count5
Last Release Name1.4.0 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count1k
Watchers Count24
Fork Count387
Commits Count1.1k
Has Issues Enabled
Issues Count125
Issue Open Count6
Pull Requests Count20
Pull Requests Open Count5
Pull Requests Close Count48
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private