Skip to content

Commit

Permalink
2018-04-10 补充 Showdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
judasn committed Apr 10, 2018
1 parent 5ef11fd commit 3778f9e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
- [CI 整套服务安装和使用](markdown-file/CI-Install-And-Usage.md)
- [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)
- [Kafka 安装和配置](markdown-file/Kafka-Install-And-Settings.md)
- [Showdoc 安装和配置](markdown-file/Showdoc-Install-And-Settings.md)


## 下一步(Next)
Expand Down
4 changes: 3 additions & 1 deletion SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@
* [Apache Thrift 安装和使用](markdown-file/Thrift-Install-And-Usage.md)
* [Node.js 安装和使用](markdown-file/Node-Install-And-Usage.md)
* [CI 整套服务安装和使用](markdown-file/CI-Install-And-Usage.md)
* [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)
* [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)
* [Kafka 安装和配置](markdown-file/Kafka-Install-And-Settings.md)
* [Showdoc 安装和配置](markdown-file/Showdoc-Install-And-Settings.md)
4 changes: 3 additions & 1 deletion TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,6 @@
- [Alfresco 安装和使用](markdown-file/Alfresco-Install-And-Usage.md)
- [Apache Thrift 安装和使用](markdown-file/Thrift-Install-And-Usage.md)
- [Node.js 安装和使用](markdown-file/Node-Install-And-Usage.md)
- [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)
- [YApi 安装和配置](markdown-file/YApi-Install-And-Settings.md)
- [Kafka 安装和配置](markdown-file/Kafka-Install-And-Settings.md)
- [Showdoc 安装和配置](markdown-file/Showdoc-Install-And-Settings.md)
25 changes: 25 additions & 0 deletions markdown-file/Showdoc-Install-And-Settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Showdoc 安装和配置

## Showdoc 介绍

- 官网:<https://www.showdoc.cc/web/#/>
- Github:<https://github.com/star7th/showdoc>
- 当前(201804)最新版:2.0.7

## Docker 下安装 Showdoc

- 场景:
- 我的 git 数据目录地址 /opt/git-data
- 创建宿主机数据存储目录并赋权:`mkdir -p /data/docker/showdoc/ && chmod 777 -R /data/docker/showdoc`
- clone 官网源码:`git clone --depth=1 https://github.com/star7th/showdoc.git`
- 进入源码目录:`cd /opt/git-data/showdoc`
- 构建 docker 镜像:`docker build -t showdoc ./`
- 运行镜像:`docker run -d --name showdoc -p 4999:80 showdoc`
- 浏览器输入:`http://47.106.127.131:4999/install`,进行程序的初始化,其实就是让你选择语言和几个提示
- 注意:
- 容器中的数据存放目录为:`/var/www/html`,其中
- 数据库文件:`/var/www/html/Sqlite/sqlite.db.php`
- 图片:`/var/www/html/Public/Uploads`
- 后续需要升级系统,更换服务器需要迁移这两个目录下的文件。
- 网站首页地址:<http://47.106.127.131:4999/web/#/>
- 没有什么系统管理员用户的概念,需要自己注册

0 comments on commit 3778f9e

Please sign in to comment.