-
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.
- Loading branch information
Showing
1 changed file
with
7 additions
and
36 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,44 +1,15 @@ | ||
# Campux | ||
|
||
校园墙自动化 解决方案。 | ||
|
||
## 文档 | ||
|
||
项目介绍和部署方式请查看:[Campux文档](https://campux.idoknow.top)(需要良好网络环境) | ||
|
||
## 开发 | ||
|
||
### 前端 | ||
|
||
> 需要 node.js 版本高于 18 | ||
<div align="center"> | ||
|
||
#### 安装依赖 | ||
|
||
```bash | ||
cd frontend | ||
npm install | ||
``` | ||
|
||
#### 修改终结点 | ||
|
||
前端默认请求同域的后端,若前后端独立,需要在`frontend/src/store/index.js`中把`state.base_url`改为你的后端地址 | ||
|
||
#### 启动 | ||
# Campux | ||
|
||
```bash | ||
npm run dev | ||
``` | ||
校园墙自动化和校内服务统一认证解决方案。 | ||
|
||
### 后端 | ||
## 文档 | ||
|
||
克隆仓库,安装依赖 | ||
项目介绍和部署方式请查看:[Campux文档](https://campux.idoknow.top) | ||
|
||
```bash | ||
go mod tidy | ||
``` | ||
|
||
启动 | ||
<image src="https://campux.idoknow.top/assets/web_demo.Byp50r1x.png" alt="demo" width="400"/> | ||
|
||
```bash | ||
go run main.go | ||
``` | ||
</div> |