@@ -61,6 +61,11 @@ go build -ldflags "-w" -o mindoc main.go
61
61
bee run
62
62
```
63
63
64
+ ## 旧版本运行 可更新部分数据库配置
65
+ ``` base
66
+ ./mindoc update
67
+ ```
68
+
64
69
MinDoc 如果使用MySQL储存数据,则编码必须是` utf8mb4_general_ci ` 。请在安装前,把数据库配置填充到项目目录下的 ` conf/app.conf ` 中。
65
70
66
71
如果使用 ` SQLite ` 数据库,则直接在配置文件中配置数据库路径即可.
@@ -189,46 +194,52 @@ docker run -p 8181:8181 --name mindoc -e DB_ADAPTER=mysql -e MYSQL_PORT_3306_TCP
189
194
190
195
** 创建项目**
191
196
192
- ![ 创建项目] ( https://raw.githubusercontent. com/lifei6671 /mindoc/master/uploads/20170501204438 .png )
197
+ ![ 创建项目] ( https://github. com/mindoc-org /mindoc/blob/ master/uploads/docs/create .png?raw=true )
193
198
194
199
** 项目列表**
195
200
196
- ![ 项目列表] ( https://raw.githubusercontent. com/lifei6671 /mindoc/master/uploads/20170501203542 .png )
201
+ ![ 项目列表] ( https://github. com/mindoc-org /mindoc/blob/ master/uploads/docs/project_list .png?raw=true )
197
202
198
203
** 项目概述**
199
204
200
- ![ 项目概述] ( https://raw.githubusercontent. com/lifei6671 /mindoc/master/uploads/20170501203619 .png )
205
+ ![ 项目概述] ( https://github. com/mindoc-org /mindoc/blob/ master/uploads/docs/intro .png?raw=true )
201
206
202
207
** 项目成员**
203
208
204
- ![ 项目成员] ( https://raw.githubusercontent. com/lifei6671 /mindoc/master/uploads/20170501203637 .png )
209
+ ![ 项目成员] ( https://github. com/mindoc-org /mindoc/blob/ master/uploads/docs/member .png?raw=true )
205
210
206
211
** 项目设置**
207
212
208
- ![ 项目设置] ( https://raw.githubusercontent. com/lifei6671 /mindoc/master/uploads/20170501203656 .png )
213
+ ![ 项目设置] ( https://github. com/mindoc-org /mindoc/blob/ master/uploads/docs/project_setting .png?raw=true )
209
214
210
215
** 基于Editor.md开发的Markdown编辑器**
211
216
212
- ![ 基于Editor.md开发的Markdown编辑器] ( https://raw.githubusercontent. com/lifei6671 /mindoc/master/uploads/20170501203854 .png )
217
+ ![ 基于Editor.md开发的Markdown编辑器] ( https://github. com/mindoc-org /mindoc/blob/ master/uploads/docs/editor_md .png?raw=true )
213
218
214
219
** 基于wangEditor开发的富文本编辑器**
215
220
216
- ![ 基于wangEditor开发的富文本编辑器] ( https://raw.githubusercontent.com/lifei6671/mindoc/master/uploads/20170501204651.png )
221
+ ![ 基于wangEditor开发的富文本编辑器] ( https://github.com/mindoc-org/mindoc/blob/master/uploads/docs/wang_editor.png?raw=true )
222
+
223
+
224
+ ** 基于cherryMarkdown开发的编辑器**
225
+
226
+ ![ 基于cherry-markdown开发的编辑器] ( https://github.com/mindoc-org/mindoc/blob/master/uploads/docs/cheery-markdown.png?raw=true )
217
227
218
228
** 项目预览**
219
229
220
- ![ 项目预览] ( https://raw.githubusercontent. com/lifei6671 /mindoc/master/uploads/20170501204609 .png )
230
+ ![ 项目预览] ( https://github. com/mindoc-org /mindoc/blob/ master/uploads/docs/preview .png?raw=true )
221
231
222
232
** 超级管理员后台**
223
233
224
- ![ 超级管理员后台] ( https://raw.githubusercontent. com/lifei6671 /mindoc/master/uploads/20170501204710 .png )
234
+ ![ 超级管理员后台] ( https://github. com/mindoc-org /mindoc/blob/ master/uploads/docs/admin .png?raw=true )
225
235
226
236
227
237
# 使用的技术(TODO: 最新技术栈整理中,使用的第三方库升级中)
228
238
229
239
- [ Beego] ( https://github.com/beego/beego ) ~~ 1.10.0~~
230
240
- MySQL 5.6
231
241
- [ editor.md] ( https://github.com/pandao/editor.md ) Markdown 编辑器
242
+ - [ cherry-markdown] ( https://github.com/Tencent/cherry-markdown ) Cherry Markdown Writer
232
243
- [ Bootstrap] ( https://github.com/twbs/bootstrap ) 3.2
233
244
- [ jQuery] ( https://github.com/jquery/jquery ) 库
234
245
- [ WebUploader] ( https://github.com/fex-team/webuploader ) 文件上传框架
@@ -250,13 +261,13 @@ docker run -p 8181:8181 --name mindoc -e DB_ADAPTER=mysql -e MYSQL_PORT_3306_TCP
250
261
251
262
# 主要功能
252
263
253
- - 项目管理,可以对项目进行编辑更改,成员添加等 。
264
+ - 项目管理,可以对项目进行编辑更改,成员添加, 项目排序等 。
254
265
- 文档管理,添加和删除文档等。
255
266
- 评论管理,可以管理文档评论和自己发布的评论。
256
267
- 用户管理,添加和禁用用户,个人资料更改等。
257
268
- 用户权限管理 , 实现用户角色的变更。
258
269
- 项目加密,可以设置项目公开状态,私有项目需要通过Token访问。
259
- - 站点配置,可开启匿名访问、验证码等。
270
+ - 站点配置,多语言切换, 可开启匿名访问、验证码等。
260
271
261
272
# 参与开发
262
273
0 commit comments