bzppx codepub
v0.8.4

يعد نظام إصدار الكود في PIPI نظام إصدار متكامل حديثًا ، ويتألف من قسمين: نظام إدارة الواجهة الخلفية والوكيل.
افتح https://github.com/BZPPX/BZPPX-CODEPUB/RELEASE للعثور على إصدار النظام الأساسي المقابل لتنزيل الحزمة المضغوطة المترجمة
# 创建目录
$ mkdir codepub
$ cd codepub
# 以 linux amd64 为例,下载版本 0.8 压缩包
$ wget https://github.com/bzppx/bzppx-codepub/releases/download/v0.8/bzppx-codepub-linux-amd64.tar.gz
# 解压到当前目录
$ tar -zxvf bzppx-codepub-linux-amd64.tar.gz
# 进入程序安装目录
$ cd install
# 执行安装程序,默认端口为 8090,指定其他端口加参数 --port=8087
$ ./install
# 浏览器访问 http://ip:8090 进入安装界面,完成安装配置
# Ctrl + C 停止 install 程序, 启动 codepub 管理后台
$ cd ..
$ ./codepub --conf conf/codepub.conf
يرجى التحقق من https://github.com/bzppx/bzppx-agent-codepub
upstream frontends {
server 127.0.0.1:8088; # codepub 监听的ip:port
}
server {
listen 80;
server_name codepub.com www.codepub.com;
location / {
proxy_pass_header Server;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_pass http://frontends;
}
# 静态资源交由nginx管理
location /static {
root /www/bzppx-codepub; # codepub 的根目录
expires 1d;
add_header Cache-Control public;
access_log off;
}
}
| - | إدارة المستخدم | قم بإعداد مسؤول | نشر رمز | تراجع الرمز | نسخة مغلقة | إدارة الإعلان | إدارة المشروع | إدارة العقدة |
|---|---|---|---|---|---|---|---|---|
超级管理员 | √ | √ | √ | √ | √ | √ | √ | √ |
管理员 | √ | × | √ | √ | √ | √ | √ | √ |
普通用户 | × | × | √ | √ | × | × | × | × |







المتطلبات البيئية: اذهب 1.8
$ git clone https://github.com/bzppx/bzppx-codepub.git
$ cd bzppx-codepub
$ go build ./
مرحبًا بك في تقديم التعليقات والرموز https://github.com/BZPPX/BZPPX-CODEPUB/ISSUES EXCRASED QQ Group: 547481058
معهد ماساتشوستس للتكنولوجيا
إنشاء بواسطة BZPPX