Skip to content

Commit

Permalink
新增Docker部署方式 (#10)
Browse files Browse the repository at this point in the history
* 新增Docker部署方式

* 调整格式与语法

* 补充说明

---------

Co-authored-by: Initial-heart <[email protected]>
  • Loading branch information
wutongshufqw and Initial-heart-1 authored Sep 19, 2024
1 parent cb822af commit 0f52004
Showing 1 changed file with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions docs/guide/deploy/getStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import download from '../../components/download.vue'

- Windows 10、Windows Subsystem for Linux (WSL) 或 Windows Server 2012 及以上系统
- MacOS 11 (Big Sur) 及以上系统
- Linux 系统官方支持 Debian 11、Ubuntu 18.04 以及 Ubuntu 20.04
- Linux 系统官方支持 Debian 11、Ubuntu 18.04 及更新版本

:::

Expand All @@ -21,41 +21,33 @@ import download from '../../components/download.vue'

## 部署

根据你的设备系统或习惯,你可以选择 <span style="color: red">可执行文件部署</span> <span style="color: red">
代码部署</span> 两种方式<span style="color: red">其一</span>。
根据你的设备系统或习惯,你可以选择 <span style="color: red">(for Windows)可执行文件部署</span> , <span style="color: red">
代码部署</span> 或 <span style="color: red">(for Linux)Docker 部署</span> 三种方式<span style="color: red">其一</span>。

Windows 系统推荐使用**可执行文件部署**,可执行文件部署是一键部署的模式,部署难度低。
- Windows 系统推荐使用**可执行文件部署**,可执行文件部署是一键部署的模式,部署难度低。
- Linux 系统推荐使用 **Docker 部署**,Docker 部署可以解决不同 Linux 发行版的系统依赖问题,支持一键升级,推荐云服务器使用该种方式部署。
- 理论上,Windows 亦可使用 Docker 部署,但并不推荐您使用该方式。请注意,我们不会就特定于在 Windows 上使用 Docker 部署相关的任何问题提供支持。

## 通过可执行文件部署
## 相关链接

| 操作系统 | 下载 | 备注 |
|---------|------------------------------|------------------------------------------|
| Windows | <download version="win32" /> | 仅支持 Windows 10、Windows Server 2016 及以上系统 |
| Linux | <del>AmiyaBot-v6.4.6-linux.zip</del> | 不再继续提供支持,请使用代码部署 |
| Linux | [Docker 一键部署脚本](https://github.com/AmiyaBot/Amiya-Bot/blob/V6-master/install.sh) | 建议提前安装好 Docker 并配置镜像 |

### Windows
### Windows 可执行文件部署

下载并解压,运行 `AmiyaBot-v6.x.x-win32.exe`,如下图成功运行后可以进入[下一节](/guide/deploy/console/)

![img.png](../../assets/deploy/running.png)

### Linux
### Linux Docker 部署

不再继续提供支持,**请使用代码部署**

<details>
<summary>原内容</summary>

不支持 Centos,目前在 Ubuntu 20.04 测试可用。

下载并解压,进入 `package/dist` 目录,运行 `AmiyaBot-v6.x.x-linux`
进入控制台,执行以下命令一键安装

```bash
cd package/dist/
chmod 777 ./AmiyaBot-v6.x.x-linux
./AmiyaBot-v6.x.x-linux
bash <(curl -fsSL https://raw.githubusercontent.com/AmiyaBot/Amiya-Bot/V6-master/install.sh)
```
</details>

## 通过代码部署

Expand Down

0 comments on commit 0f52004

Please sign in to comment.