forked from Gitlink/forgeplus
部署说明调整
This commit is contained in:
parent
4d751e6b3e
commit
253196e000
|
@ -16,9 +16,9 @@
|
||||||
|
|
||||||
## Steps
|
## 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. 安装依赖包
|
### 2. 安装依赖包
|
||||||
|
@ -54,7 +54,7 @@ default: &default
|
||||||
### 4. 配置gitea服务(可选)
|
### 4. 配置gitea服务(可选)
|
||||||
**如需要部署自己的gitea平台,请参考gitea官方平台:https://docs.gitea.io/zh-cn/install-from-binary/**
|
**如需要部署自己的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服务步骤
|
#### 配置gitea服务步骤
|
||||||
1. 部署gitea服务,并注册root账户
|
1. 部署gitea服务,并注册root账户
|
||||||
|
@ -93,7 +93,7 @@ rails db:migrate RAILS_ENV=development
|
||||||
### 9. clone前端代码
|
### 9. clone前端代码
|
||||||
**将前端代码克隆到public/react目录下,目录结构应该是: public/react/build**
|
**将前端代码克隆到public/react目录下,目录结构应该是: public/react/build**
|
||||||
```bash
|
```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系统为例)
|
### 10. 启动redis(此处已mac系统为例)
|
||||||
|
|
Loading…
Reference in New Issue