-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from big-dust/auth-task
doc: update README
- Loading branch information
Showing
1 changed file
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,40 @@ | ||
# MuxiFresh-Be-2.0 | ||
MuxiFresh Backend Version2.0 | ||
# 木犀招新系统 v2 | ||
|
||
基于 `go-zero` 的木犀招新系统后端仓库 | ||
|
||
## 服务 | ||
|
||
- auth:身份认证 | ||
- user:用户信息 | ||
- task:作业 | ||
- review:审阅 | ||
- schedule:进度 | ||
- form:报名表 | ||
- test:测验 | ||
|
||
## 运行 | ||
|
||
### 1. 配置 | ||
|
||
复制 `~/etc/app-example.yaml` 文件为 `~/etc/app.yaml`,并根据需要进行配置。 | ||
|
||
### 2. 构建运行 | ||
|
||
- `rpc`服务 | ||
|
||
进入`rpc`服务目录,执行 | ||
|
||
```go | ||
go run rpc.go -f etc/rpc.yaml | ||
``` | ||
|
||
- `api`服务 | ||
|
||
进入`api`服务目录,执行 | ||
|
||
```go | ||
go run api.go -f etc/api.yaml | ||
``` | ||
|
||
ps:运行整个项目时,user服务需要在task,review,form,test服务之前启动。 | ||
|