Skip to content

Commit

Permalink
docs: add sidebar for the vernacular
Browse files Browse the repository at this point in the history
Signed-off-by: saltbo <saltbo@foxmail.com>
  • Loading branch information
saltbo committed Nov 2, 2024
1 parent dd798ae commit 8435a7a
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
* [配置文件](/config.md)
* [云存储](/cloud-platform.md)
* [贡献代码](/contributing.md)
* [白话文教程](/vernacular.md)
* [白话文教程](/vernacular/index.md)
* [常见问题](/faq.md)
8 changes: 0 additions & 8 deletions docs/vernacular.md

This file was deleted.

10 changes: 10 additions & 0 deletions docs/vernacular/_sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

* [介绍](/)
* [快速开始](/getting-started.md)
* [配置文件](/config.md)
* [云存储](/cloud-platform.md)
* [贡献代码](/contributing.md)
* [白话文教程](/vernacular/index.md)
* [手把手教你在宝塔面板安装 Zpan](/vernacular/panel-baota.md)
* [手把手教你申请阿里云OSS存储桶](/vernacular/provider-oss.md)
* [常见问题](/faq.md)
8 changes: 8 additions & 0 deletions docs/vernacular/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# 白话文教程

- [手把手教你在宝塔面板安装 Zpan](/vernacular/panel-baota.md)
- [手把手教你配置阿里云OSS存储桶](/vernacular/provider-oss.md)
- 手把手教你配置七牛Kodo(招募中)
- 手把手教你配置腾讯COS(招募中)
- 手把手教你配置亚马逊S3(招募中)
- 手把手教你配置谷歌云Storage(招募中)
10 changes: 5 additions & 5 deletions docs/Install.md → docs/vernacular/panel-baota.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# 项目部署

![000](./static/images/set-storage/000.jpg)
![000](../static/images/set-storage/000.jpg)
① 宝塔面板选择Docker菜单

② 输入 zpan
Expand All @@ -21,11 +21,11 @@

> 教程部署以Docker为例
![001](./static/images/set-storage/001.jpg)
![001](../static/images/set-storage/001.jpg)

# 创建数据库
已有数据库跳过此步
![004](./static/images/set-storage/004.jpg)
![004](../static/images/set-storage/004.jpg)


# 配置数据库
Expand All @@ -45,10 +45,10 @@ user:pass@tcp(127.0.0.1:3306)/zpan?charset=utf8mb4&parseTime=True&loc=Local

# 设置管理员账号
设置好管理员账号,点击开始安装即可
![002](./static/images/set-storage/002.jpg)
![002](../static/images/set-storage/002.jpg)
如果有报错 请检查 数据库配置信息


# 安装成功
![003](./static/images/set-storage/003.jpg)
![003](../static/images/set-storage/003.jpg)

16 changes: 8 additions & 8 deletions docs/set-storage.md → docs/vernacular/provider-oss.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,40 +5,40 @@

**登录阿里云,右上角头像选择 ==访问控制==**

![005](./static/images/set-storage/005.jpg)
![005](../static/images/set-storage/005.jpg)


**新建用户**


![006](./static/images/set-storage/006.jpg)
![006](../static/images/set-storage/006.jpg)

![007](./static/images/set-storage/007.jpg)
![007](../static/images/set-storage/007.jpg)


**保存AccessKey ID AccessKey Secret备用**

![008](./static/images/set-storage/008.jpg)
![008](../static/images/set-storage/008.jpg)

**创建对象存储**

打开阿里云[对象存储](https://oss.console.aliyun.com/)

![009](./static/images/set-storage/009.jpg)
![009](../static/images/set-storage/009.jpg)

配置存储桶(Bucket)

![010](./static/images/set-storage/010.jpg)
![010](../static/images/set-storage/010.jpg)

进入存储桶,记住Bucket名称(存储桶名称)和Endpoint(地域节点)

![011](./static/images/set-storage/011.jpg)
![011](../static/images/set-storage/011.jpg)

**Zpan创建存储**

登录zpan后,点头像进入管理后台,右上角创建存储,按提示填入信息

![012](./static/images/set-storage/012.jpg)
![012](../static/images/set-storage/012.jpg)

> [!NOTE]
> 注意:外链盘可以直接拿到永久外链,同时它没有分享和回收站的功能
Expand Down

0 comments on commit 8435a7a

Please sign in to comment.