Skip to content

Commit

Permalink
chore: update docs;
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanuo committed Jun 22, 2024
1 parent 20931bc commit 3402fd6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

- [x] 支持 **拖拽****复制粘贴****选择文件** 等方式进行选择图片
- [x] 支持 **一键复制** 图片外链支持多种格式(**MarkDown****HTML****自定义**)
- [x] 支持 **一键部署**(Vercel,ServerLess,Heroku,Docker)[查看部署方法](https://blazeb2.js.org/zh/guide/deploy.html)
- [x] 支持 **一键部署**(Vercel,ServerLess,Heroku,Docker)[查看部署方法](https://blazeb2.js.org/guide/deploy/vercel.html)
- [x] 支持 图片名称 **唯一性** 后端生成uuid字符串,暂不支持自定义名称
- [x] 支持 **显示仓库下所有文件夹名称** 支持自定义默认搜索仓库名
- [x] 支持 **图片压缩** 可自定义压缩等级 默认关闭,开启默认(**0.8**)
Expand All @@ -34,7 +34,7 @@

## 💻 使用教程 | Using the tutorial

- 点击这里查看 [传送门](https://blazeb2.js.org/zh/guide/)
- 点击这里查看 [传送门](https://blazeb2.js.org/guide/summary.html)

## 🍥 部署方法 | Deployment method

Expand All @@ -45,6 +45,8 @@
- 支持 `heroku` 部署 [![heroku](https://img.shields.io/badge/heroku-%23000000.svg?style=flat&logo=heroku&logoColor=white)](https://blazeb2.js.org/zh/guide/deploy.html#heroku-%E9%83%A8%E7%BD%B2)

- 支持 `Docker` 部署 [![docker](https://img.shields.io/badge/docker-%23000000.svg?style=flat&logo=docker&logoColor=white)](https://blazeb2.js.org/zh/guide/deploy.html#%E5%9F%BA%E4%BA%8Edocker-nginx-%E9%83%A8%E7%BD%B2)

- 支持 `netlify` 部署 [![netlify](https://img.shields.io/badge/netlify-%23000000.svg?style=flat&logo=netlify&logoColor=white)](https://blazeb2.js.org/zh/guide/deploy.html#netlify-%E9%83%A8%E7%BD%B2)
## 📸 预览 | preview

<details>
Expand Down
2 changes: 1 addition & 1 deletion docs/.vitepress/configs/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
export const nav = [
{
text: '在线使用', items: [
{ text: "推荐较快", link: 'https://blazeb2.mr90.cf/' },
{ text: "推荐较快", link: 'https://blazeb2.ryanuo.cc/' },
{ text: "镜像站点", link: 'https://b2.ryanuo.cc/' },
]
}
Expand Down
12 changes: 7 additions & 5 deletions docs/guide/deploy/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ description: 使用docker+nginx一键部署balzeb2图床项目

- 拉取代码到服务端

```js
// github
git clone -b build https://github.com/ryanuo/blazeB2.git
// gitee
git clone -b build https://gitee.com/rbozo/blazeB2.git
```bash
# // github
git clone https://github.com/ryanuo/blazeB2.git
# // gitee
# git clone https://gitee.com/rbozo/blazeB2.git

cd deploys/other
```

## Step. 3: 修改默认配置信息
Expand Down
5 changes: 3 additions & 2 deletions docs/guide/deploy/heroku.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ description: 使用Heroku一键部署balzeb2图床项目
3. 创建新的 `Heroku App`
4. 拉取代码部署(或者直接[fork](https://github.com/ryanuo/blazeB2)本仓库)

```js
git clone -b build https://github.com/ryanuo/blazeB2.git
```bash
git clone https://github.com/ryanuo/blazeB2.git
cd deploys/other
```
- fork无需拉取上传
- 将代码创建并保存到自己的`github`仓库
Expand Down
5 changes: 5 additions & 0 deletions docs/guide/deploy/netify.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
lang: zh-cn
title: 项目部署 | netlify部署
description: 使用netlify一键部署balzeb2图床项目
---

0 comments on commit 3402fd6

Please sign in to comment.