From 52bc36b4796de299105c49a89fb871177616cbd2 Mon Sep 17 00:00:00 2001 From: zhenqiang Date: Fri, 18 Feb 2022 18:42:42 +0800 Subject: [PATCH] chore: add wildcard cert download tip (#131) --- CHANGELOG.md | 4 ++++ blocklet.yml | 2 +- package.json | 2 +- src/config.yml | 1 + src/developer/index.md | 1 + src/developer/index.zh.md | 1 + src/developer/resources/index.md | 24 ++++++++++++++++++++++++ src/developer/resources/index.zh.md | 24 ++++++++++++++++++++++++ version | 2 +- 9 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 src/developer/resources/index.md create mode 100644 src/developer/resources/index.zh.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 56a48e3..a0a10cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.5.6 (February 18, 2022) + +- add download resource chapter + ## 0.5.5 (一月 29, 2022) - feat: use blocklet workflow diff --git a/blocklet.yml b/blocklet.yml index 3d7b560..7e9f171 100644 --- a/blocklet.yml +++ b/blocklet.yml @@ -1,5 +1,5 @@ name: '@arcblock/abtnode-docs' -version: 0.5.5 +version: 0.5.6 description: >- Blocklet Server Documentation, a help documentation for quickly get started with Blocklet Server. diff --git a/package.json b/package.json index 06e31c2..3c9d1a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@arcblock/abtnode-docs", - "version": "0.5.5", + "version": "0.5.6", "description": "Blocklet Server Documentation, a help documentation for quickly get started with Blocklet Server.", "main": "index.js", "publishConfig": { diff --git a/src/config.yml b/src/config.yml index 87c0b6f..c04ada5 100644 --- a/src/config.yml +++ b/src/config.yml @@ -72,6 +72,7 @@ categories: Developer Guide: url: /developer links: + - /developer/resources - /developer/config-dev-env - /developer/abtnode-cli - /developer/blocklet-cli diff --git a/src/developer/index.md b/src/developer/index.md index 04b8a58..54fa187 100644 --- a/src/developer/index.md +++ b/src/developer/index.md @@ -11,6 +11,7 @@ tags: If you are a developer and want to do something with Blocklet Server ,this chapter is for you: +- [Download Resources](./resources) - [Configuring the development environment](./config-dev-env) - [Blocklet Server CLI](./abtnode-cli) - [Blocklet CLI](./blocklet-cli) diff --git a/src/developer/index.zh.md b/src/developer/index.zh.md index dbded76..628cf5c 100644 --- a/src/developer/index.zh.md +++ b/src/developer/index.zh.md @@ -11,6 +11,7 @@ tags: 如果你是开发者,并且正准备在 Blocklet Server 上进行开发,这一章节为你而准备: +- [下载资源](./resources) - [配置开发环境](./config-dev-env) - [Blocklet Server CLI 工具](./abtnode-cli) - [Blocklet CLI 工具](./blocklet-cli) diff --git a/src/developer/resources/index.md b/src/developer/resources/index.md new file mode 100644 index 0000000..3e80f87 --- /dev/null +++ b/src/developer/resources/index.md @@ -0,0 +1,24 @@ +--- +title: 'Download Resources' +description: 'Download related resources' +keywords: 'download, resource' +author: 'zhenqiang' +category: '' +layout: 'documentation' +tags: + - 'download' + - 'resource' +--- + +Blocklet Server downloads some resources, such as HTTPS certificates, when it starts up, and the Blocklet Server CLI sets these download addresses by default during initialization, but in some cases the default addresses may not be accessible. Some other optional download addresses are given in this document. + +## HTTPS Certificate download address + +- Default Address: https://releases.arcblock.io/ +- Ali Cloud Address: https://releases.arcblockio.cn/ + +The download address can be set via the `ABT_NODE_WILDCARD_CERT_HOST` environment variable, e.g. : + +```bash +ABT_NODE_WILDCARD_CERT_HOST=https://releases.arcblockio.cn blocklet server start +``` diff --git a/src/developer/resources/index.zh.md b/src/developer/resources/index.zh.md new file mode 100644 index 0000000..aa7c3ad --- /dev/null +++ b/src/developer/resources/index.zh.md @@ -0,0 +1,24 @@ +--- +title: '下载资源' +description: '下载相关资源' +keywords: '下载,资源' +author: 'zhenqiang' +category: '' +layout: 'documentation' +tags: + - '下载' + - '资源' +--- + +Blocklet Server 在启动的时候会下载一些资源,比如 HTTPS 证书。Blocklet Server CLI 默认在初始化时默认设置了这些下载地址,但是在有些情况下默认地址可能不能正常访问。在该文档中会给出一些其它可选的下载地址。 + +## HTTPS 证书下载地址 + +- 默认下载地址: https://releases.arcblock.io/ +- 国内阿里云地址: https://releases.arcblockio.cn/ + +可以通过`ABT_NODE_WILDCARD_CERT_HOST`环境变量设置下载地址,比如: + +```bash +ABT_NODE_WILDCARD_CERT_HOST=https://releases.arcblockio.cn blocklet server start +``` diff --git a/version b/version index d1d899f..b49b253 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.5.5 +0.5.6