Skip to content

Commit 3778f9e

Browse files
committed
2018-04-10 补充 Showdoc
1 parent 5ef11fd commit 3778f9e

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
- [CI 整套服务安装和使用](markdown-file/CI-Install-And-Usage.md)
8585
- [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)
8686
- [Kafka 安装和配置](markdown-file/Kafka-Install-And-Settings.md)
87+
- [Showdoc 安装和配置](markdown-file/Showdoc-Install-And-Settings.md)
8788

8889

8990
## 下一步(Next)

SUMMARY.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,6 @@
7171
* [Apache Thrift 安装和使用](markdown-file/Thrift-Install-And-Usage.md)
7272
* [Node.js 安装和使用](markdown-file/Node-Install-And-Usage.md)
7373
* [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)

TOC.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,6 @@
6868
- [Alfresco 安装和使用](markdown-file/Alfresco-Install-And-Usage.md)
6969
- [Apache Thrift 安装和使用](markdown-file/Thrift-Install-And-Usage.md)
7070
- [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)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
- 没有什么系统管理员用户的概念,需要自己注册

0 commit comments

Comments
 (0)