Skip to content

Commit

Permalink
doc: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Jul 30, 2024
1 parent 77870ef commit 4b5d8ab
Showing 1 changed file with 7 additions and 36 deletions.
43 changes: 7 additions & 36 deletions README.md
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>

0 comments on commit 4b5d8ab

Please sign in to comment.