File tree Expand file tree Collapse file tree 4 files changed +32
-2
lines changed Expand file tree Collapse file tree 4 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 84
84
- [ CI 整套服务安装和使用] ( markdown-file/CI-Install-And-Usage.md )
85
85
- [ YApi 安装和配置] ( markdown-file/YApi-Install-And-Settings.md )
86
86
- [ Kafka 安装和配置] ( markdown-file/Kafka-Install-And-Settings.md )
87
+ - [ Showdoc 安装和配置] ( markdown-file/Showdoc-Install-And-Settings.md )
87
88
88
89
89
90
## 下一步(Next)
Original file line number Diff line number Diff line change 71
71
* [ Apache Thrift 安装和使用] ( markdown-file/Thrift-Install-And-Usage.md )
72
72
* [ Node.js 安装和使用] ( markdown-file/Node-Install-And-Usage.md )
73
73
* [ CI 整套服务安装和使用] ( markdown-file/CI-Install-And-Usage.md )
74
- * [ YApi 安装和配置] ( markdown-file/YApi-Install-And-Settings.md )
74
+ * [ YApi 安装和配置] ( markdown-file/YApi-Install-And-Settings.md )
75
+ * [ Kafka 安装和配置] ( markdown-file/Kafka-Install-And-Settings.md )
76
+ * [ Showdoc 安装和配置] ( markdown-file/Showdoc-Install-And-Settings.md )
Original file line number Diff line number Diff line change 68
68
- [ Alfresco 安装和使用] ( markdown-file/Alfresco-Install-And-Usage.md )
69
69
- [ Apache Thrift 安装和使用] ( markdown-file/Thrift-Install-And-Usage.md )
70
70
- [ Node.js 安装和使用] ( markdown-file/Node-Install-And-Usage.md )
71
- - [ YApi 安装和配置] ( markdown-file/YApi-Install-And-Settings.md )
71
+ - [ YApi 安装和配置] ( markdown-file/YApi-Install-And-Settings.md )
72
+ - [ Kafka 安装和配置] ( markdown-file/Kafka-Install-And-Settings.md )
73
+ - [ Showdoc 安装和配置] ( markdown-file/Showdoc-Install-And-Settings.md )
Original file line number Diff line number Diff line change
1
+ # Showdoc 安装和配置
2
+
3
+ ## Showdoc 介绍
4
+
5
+ - 官网:< https://www.showdoc.cc/web/#/ >
6
+ - Github:< https://github.com/star7th/showdoc >
7
+ - 当前(201804)最新版:2.0.7
8
+
9
+ ## Docker 下安装 Showdoc
10
+
11
+ - 场景:
12
+ - 我的 git 数据目录地址 /opt/git-data
13
+ - 创建宿主机数据存储目录并赋权:` mkdir -p /data/docker/showdoc/ && chmod 777 -R /data/docker/showdoc `
14
+ - clone 官网源码:` git clone --depth=1 https://github.com/star7th/showdoc.git `
15
+ - 进入源码目录:` cd /opt/git-data/showdoc `
16
+ - 构建 docker 镜像:` docker build -t showdoc ./ `
17
+ - 运行镜像:` docker run -d --name showdoc -p 4999:80 showdoc `
18
+ - 浏览器输入:` http://47.106.127.131:4999/install ` ,进行程序的初始化,其实就是让你选择语言和几个提示
19
+ - 注意:
20
+ - 容器中的数据存放目录为:`/var/www/html`,其中
21
+ - 数据库文件:`/var/www/html/Sqlite/sqlite.db.php`
22
+ - 图片:`/var/www/html/Public/Uploads`
23
+ - 后续需要升级系统,更换服务器需要迁移这两个目录下的文件。
24
+ - 网站首页地址:< http://47.106.127.131:4999/web/#/ >
25
+ - 没有什么系统管理员用户的概念,需要自己注册
You can’t perform that action at this time.
0 commit comments