Skip to content

Commit 76e469f

Browse files
author
chenghao
committed
update
1 parent 7edd834 commit 76e469f

File tree

384 files changed

+92387
-2815
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

384 files changed

+92387
-2815
lines changed

README.md

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,49 @@ Teaching针对机构、学校提供STEAM在线教育解决方案, 提供一个
1616
## 开源版功能
1717

1818
```
19+
├─首页
1920
├─社区
2021
├─创作
2122
│ ├─Scratch
2223
│ ├─Python
2324
│ ├─ScratchJr
24-
├─个人中心
25+
│ ├─Blockly
26+
├─学生中心
2527
│ ├─我的作品
28+
│ ├─班级作业
2629
│ ├─个人设置
27-
├─我的课程
28-
│ ├─卡片形式
29-
│ ├─地图形式
30+
├─我的课程
31+
├─卡片形式
32+
├─地图形式
3033
├─作业管理
34+
│ ├─作品管理
35+
│ ├─布置班级作业
3136
├─课程管理
3237
│ ├─课程管理
3338
│ ├─课程单元管理
3439
├─系统管理
3540
│ ├─用户管理
3641
| ├─角色管理
37-
│ ├─菜单管理
3842
│ ├─权限设置
3943
│ ├─班级管理
40-
│ └─字典管理
41-
│ └─我的班级
42-
│ └─通讯录
44+
│ ├─字典管理
45+
│ ├─后台菜单管理
46+
│ ├─前台菜单管理
47+
│ ├─网站配置
48+
│ ├─Scratch素材库
4349
├─系统监控
4450
│ ├─ ……
4551
```
4652
## 教学工具对接
4753

4854
- [Scratch2.0](https://github.com/open-scratch/scratch2) (已淘汰)
55+
4956
- [Scratch3.0](https://github.com/open-scratch/scratch3)
57+
5058
- [ScratchJr](https://github.com/open-scratch/scratchjr)
5159

60+
- Blockly
61+
5262

5363
## 技术架构
5464

@@ -63,11 +73,14 @@ Teaching针对机构、学校提供STEAM在线教育解决方案, 提供一个
6373
## 编译和部署教程
6474

6575
### 环境准备
66-
以CentOS服务器为例
76+
以CentOS服务器为例,其他系统操作流程基本一样。
6777
#### 安装mysql5.6
68-
- 设置数据库表名忽略大小写
69-
lower_case_table_names=1
70-
- 导入api/db文件夹的sql文件。如果是升级,需要以此按版本号执行升级sql。
78+
1. 略,(可使用宝塔面板一键安装)
79+
80+
2. 设置数据库表名忽略大小写
81+
lower_case_table_names=1
82+
83+
3. 导入api/db文件夹的sql文件。如果是升级,需要以此按版本号执行升级sql。
7184

7285
#### 安装 redis 6.0
7386
略,(可使用宝塔面板一键安装)
@@ -136,7 +149,7 @@ qiniu:
136149
```
137150

138151
在api目录执行
139-
152+
140153
`mvn clean package`
141154

142155
编译成功后得到jar文件:\target\teaching-open-xxx.jar
@@ -160,9 +173,8 @@ qiniu:
160173
```js
161174
window._CONFIG['qn_base'] = "//qn.open.teaching.vip/" //七牛域名
162175
window._CONFIG['qn_area'] = 'z0' //七牛存储区域 z0华东 z1华北 z2华南 na0北美 as0东南亚
163-
window._CONFIG['brandName'] = "Teaching" //品牌名
164176
```
165-
177+
166178
- 安装依赖
167179
`npm install``yarn install`
168180

@@ -171,6 +183,7 @@ qiniu:
171183

172184
- 部署
173185

186+
174187
将编译后的dist文件夹上传至服务器网站根目录
175188

176189
- 配置Nginx
@@ -184,7 +197,7 @@ server
184197
server_name open.teaching.vip;
185198
location / {
186199
index index.html index.htm;
187-
root /www/wwwroot/teaching-open;
200+
root /www/wwwroot/teaching-open; # 改为你网站目录的路径
188201
if (!-e $request_filename) {
189202
rewrite ^(.*)$ /index.html?s=$1 last;
190203
break;
@@ -199,11 +212,7 @@ server
199212
200213
location ^~ /api
201214
{
202-
expires 12h;
203-
if ($request_uri ~* "(php|jsp|cgi|asp|aspx)")
204-
{
205-
expires 0;
206-
}
215+
expires 0;
207216
proxy_pass http://127.0.0.1:8080/api/;
208217
proxy_set_header Host 127.0.0.1;
209218
proxy_set_header X-Real-IP $remote_addr;
@@ -296,4 +305,4 @@ jeecg:
296305

297306
5. 上传覆盖前端文件
298307

299-
注意覆盖之前备份index.html中的配置、scratch3/index.html的配置、logo文件
308+
注意覆盖之前备份index.html中的配置、scratch3/index.html的配置

api/db/sqltemp.sql

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)