Skip to content

Commit

Permalink
docs: add documentation for offline activation of paid apps in the ap…
Browse files Browse the repository at this point in the history
…p store (#415)

添加离线激活应用市场付费应用的文档。

/kind documentation

```release-note
None
```
  • Loading branch information
ruibaby committed Sep 14, 2024
1 parent 65018a5 commit a2b7fe2
Show file tree
Hide file tree
Showing 7 changed files with 70 additions and 12 deletions.
41 changes: 35 additions & 6 deletions docs/user-guide/app-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: 内置应用市场的使用说明
如果你使用了旧版本的 Halo,并且当前未安装应用市场插件,可以访问 [https://www.halo.run/store/apps/app-VYJbF](https://www.halo.run/store/apps/app-VYJbF) 手动下载并在 Console 的插件管理中安装。

:::info 提示
这是目前唯一由 Halo 官方提供的服务,如果你当前的 Halo 网站处于无法访问外网的环境或者不需要此功能,你可以卸载或者停用此插件,不会影响网站的正常使用。
这是目前唯一由 Halo 官方提供的服务,如果你当前的 Halo 网站处于无法访问公网的环境或者不需要此功能,你可以卸载或者停用此插件,不会影响网站的正常使用。
:::

## 应用市场页面
Expand Down Expand Up @@ -40,21 +40,23 @@ description: 内置应用市场的使用说明

## 安装/更新主题

与插件一样,在主题管理中也可以直接从应用市场中获取,以及接受主题更新提示
与插件一样,在主题管理中也可以直接从应用市场中获取,以及接收主题更新提示

![安装主题](/img/user-guide/app-store/app-store-themes.png)

![更新主题](/img/user-guide/app-store/app-store-upgrade-theme.png)

## 付费应用激活

目前部分付费主题和插件需要许可证激活才能够正常使用,在购买付费应用之后就会自动为你的 Halo 官网账号中生成对应的应用许可证,**所以在此之前需要确保已经在你的网站中绑定好了 Halo 官网账号**
部分付费主题和插件需要许可证激活才能够正常使用,在购买付费应用之后就会自动为你的 Halo 官网账号中生成对应的应用许可证,目前支持在线激活和离线激活两种方式

:::info 注意
当前应用市场的许可证暂不支持离线激活,需要 Halo 所在的服务器能够正常访问 [https://www.halo.run](https://www.halo.run)
### 在线激活

:::info
在线激活需要先在你的网站中 [绑定 Halo 官网账号](#绑定-halo-官网账号),以及需要确保网站所在的服务器能够正常访问 [https://www.halo.run](https://www.halo.run)
:::

在安装好需要许可证的付费插件或主题后,列表会显示一个许可证状态的图标,点击即可打开许可证激活的对话框,选择许可证并点击激活即可
在安装好需要许可证的付费插件或主题后,列表会显示一个许可证状态的图标,点击即可打开许可证激活的对话框,选择在线许可证并点击激活即可

![插件激活状态](/img/user-guide/app-store/app-store-license-status.png)

Expand All @@ -64,6 +66,33 @@ description: 内置应用市场的使用说明

![许可证列表](/img/user-guide/app-store/app-store-license-manage.png)

### 离线激活

如果你的 Halo 网站无法访问公网,你可以选择离线激活的方式。

1. 同样点击许可证状态的图标,打开许可证激活的对话框。

![插件激活状态](/img/user-guide/app-store/app-store-license-status.png)

2. 激活方式选择许可证。

![离线激活选项](/img/user-guide/app-store/app-store-license-offline-option.png)

3. 点击 **复制离线许可证凭证** 按钮,然后点击 **去生成** 按钮,然后会跳转到 Halo 官网去生成离线激活码。
4. 找到对应的许可证,选择 **生成离线许可证**

![生成离线激活码](/img/user-guide/app-store/app-store-license-generate-license-1.png)

5.**生成离线许可证** 的对话框中,粘贴刚刚复制的离线许可证凭证,然后点击 **生成并复制** 按钮,然后会打开 **查看离线许可证** 对话框,你可以选择下载文件或者复制许可证。

![生成离线激活码](/img/user-guide/app-store/app-store-license-generate-license-2.png)

![生成离线激活码](/img/user-guide/app-store/app-store-license-generate-license-3.png)

6. 回到 Halo 网站,粘贴刚刚复制的离线许可证,然后点击 **激活** 按钮即可。

![离线激活](/img/user-guide/app-store/app-store-license-offline.png)

其他注意事项:

1. 目前同一个账号的许可证在同一时间只能在一个站点中使用,使用 Halo 配置中的 **外部访问地址(halo.external-url)** 和设备 id 做判定。
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 35 additions & 6 deletions versioned_docs/version-2.19/user-guide/app-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: 内置应用市场的使用说明
如果你使用了旧版本的 Halo,并且当前未安装应用市场插件,可以访问 [https://www.halo.run/store/apps/app-VYJbF](https://www.halo.run/store/apps/app-VYJbF) 手动下载并在 Console 的插件管理中安装。

:::info 提示
这是目前唯一由 Halo 官方提供的服务,如果你当前的 Halo 网站处于无法访问外网的环境或者不需要此功能,你可以卸载或者停用此插件,不会影响网站的正常使用。
这是目前唯一由 Halo 官方提供的服务,如果你当前的 Halo 网站处于无法访问公网的环境或者不需要此功能,你可以卸载或者停用此插件,不会影响网站的正常使用。
:::

## 应用市场页面
Expand Down Expand Up @@ -40,21 +40,23 @@ description: 内置应用市场的使用说明

## 安装/更新主题

与插件一样,在主题管理中也可以直接从应用市场中获取,以及接受主题更新提示
与插件一样,在主题管理中也可以直接从应用市场中获取,以及接收主题更新提示

![安装主题](/img/user-guide/app-store/app-store-themes.png)

![更新主题](/img/user-guide/app-store/app-store-upgrade-theme.png)

## 付费应用激活

目前部分付费主题和插件需要许可证激活才能够正常使用,在购买付费应用之后就会自动为你的 Halo 官网账号中生成对应的应用许可证,**所以在此之前需要确保已经在你的网站中绑定好了 Halo 官网账号**
部分付费主题和插件需要许可证激活才能够正常使用,在购买付费应用之后就会自动为你的 Halo 官网账号中生成对应的应用许可证,目前支持在线激活和离线激活两种方式

:::info 注意
当前应用市场的许可证暂不支持离线激活,需要 Halo 所在的服务器能够正常访问 [https://www.halo.run](https://www.halo.run)
### 在线激活

:::info
在线激活需要先在你的网站中 [绑定 Halo 官网账号](#绑定-halo-官网账号),以及需要确保网站所在的服务器能够正常访问 [https://www.halo.run](https://www.halo.run)
:::

在安装好需要许可证的付费插件或主题后,列表会显示一个许可证状态的图标,点击即可打开许可证激活的对话框,选择许可证并点击激活即可
在安装好需要许可证的付费插件或主题后,列表会显示一个许可证状态的图标,点击即可打开许可证激活的对话框,选择在线许可证并点击激活即可

![插件激活状态](/img/user-guide/app-store/app-store-license-status.png)

Expand All @@ -64,6 +66,33 @@ description: 内置应用市场的使用说明

![许可证列表](/img/user-guide/app-store/app-store-license-manage.png)

### 离线激活

如果你的 Halo 网站无法访问公网,你可以选择离线激活的方式。

1. 同样点击许可证状态的图标,打开许可证激活的对话框。

![插件激活状态](/img/user-guide/app-store/app-store-license-status.png)

2. 激活方式选择许可证。

![离线激活选项](/img/user-guide/app-store/app-store-license-offline-option.png)

3. 点击 **复制离线许可证凭证** 按钮,然后点击 **去生成** 按钮,然后会跳转到 Halo 官网去生成离线激活码。
4. 找到对应的许可证,选择 **生成离线许可证**

![生成离线激活码](/img/user-guide/app-store/app-store-license-generate-license-1.png)

5.**生成离线许可证** 的对话框中,粘贴刚刚复制的离线许可证凭证,然后点击 **生成并复制** 按钮,然后会打开 **查看离线许可证** 对话框,你可以选择下载文件或者复制许可证。

![生成离线激活码](/img/user-guide/app-store/app-store-license-generate-license-2.png)

![生成离线激活码](/img/user-guide/app-store/app-store-license-generate-license-3.png)

6. 回到 Halo 网站,粘贴刚刚复制的离线许可证,然后点击 **激活** 按钮即可。

![离线激活](/img/user-guide/app-store/app-store-license-offline.png)

其他注意事项:

1. 目前同一个账号的许可证在同一时间只能在一个站点中使用,使用 Halo 配置中的 **外部访问地址(halo.external-url)** 和设备 id 做判定。
Expand Down

0 comments on commit a2b7fe2

Please sign in to comment.