|
|
|
@@ -16,9 +16,9 @@ |
|
|
|
|
|
|
|
## Steps |
|
|
|
|
|
|
|
### 1. 克隆稳定版本仓库 |
|
|
|
### 1. 克隆本地版本仓库(去掉了邮箱和手机号验证码) |
|
|
|
``` |
|
|
|
git clone -b standalone https://git.trustie.net/jasder/forgeplus.git |
|
|
|
git clone -b dev_local_v1 https://gitlink.org.cn/Gitlink/forgeplus.git |
|
|
|
``` |
|
|
|
|
|
|
|
### 2. 安装依赖包 |
|
|
|
@@ -54,7 +54,7 @@ default: &default |
|
|
|
### 4. 配置gitea服务(可选) |
|
|
|
**如需要部署自己的gitea平台,请参考gitea官方平台:https://docs.gitea.io/zh-cn/install-from-binary/** |
|
|
|
|
|
|
|
**因目前gitea平台api受限,暂时推荐从forge平台获取gitea部署文件进行部署:https://forgeplus.trustie.net/projects/Trustie/gitea-binary** |
|
|
|
**因目前gitea平台api受限,暂时推荐从forge平台获取gitea部署文件进行部署:https://gitlink.org.cn/Gitlink/gitea-binary** |
|
|
|
|
|
|
|
#### 配置gitea服务步骤 |
|
|
|
1. 部署gitea服务,并注册root账户 |
|
|
|
@@ -93,7 +93,7 @@ rails db:migrate RAILS_ENV=development |
|
|
|
### 9. clone前端代码 |
|
|
|
**将前端代码克隆到public/react目录下,目录结构应该是: public/react/build** |
|
|
|
```bash |
|
|
|
git clone -b standalone https://git.trustie.net/jasder/build.git |
|
|
|
git clone -b dev_local_v1 https://gitlink.org.cn/Gitlink/build.git |
|
|
|
``` |
|
|
|
|
|
|
|
### 10. 启动redis(此处已mac系统为例) |
|
|
|
|