Skip to content

Commit

Permalink
chore: add wildcard cert download tip (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
polunzh authored Feb 18, 2022
1 parent 69c5580 commit 52bc36b
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.6 (February 18, 2022)

- add download resource chapter

## 0.5.5 (一月 29, 2022)

- feat: use blocklet workflow
Expand Down
2 changes: 1 addition & 1 deletion blocklet.yml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
1 change: 1 addition & 0 deletions src/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ categories:
Developer Guide:
url: /developer
links:
- /developer/resources
- /developer/config-dev-env
- /developer/abtnode-cli
- /developer/blocklet-cli
Expand Down
1 change: 1 addition & 0 deletions src/developer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions src/developer/index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tags:

如果你是开发者,并且正准备在 Blocklet Server 上进行开发,这一章节为你而准备:

- [下载资源](./resources)
- [配置开发环境](./config-dev-env)
- [Blocklet Server CLI 工具](./abtnode-cli)
- [Blocklet CLI 工具](./blocklet-cli)
Expand Down
24 changes: 24 additions & 0 deletions src/developer/resources/index.md
Original file line number Diff line number Diff line change
@@ -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
```
24 changes: 24 additions & 0 deletions src/developer/resources/index.zh.md
Original file line number Diff line number Diff line change
@@ -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
```
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.5
0.5.6

0 comments on commit 52bc36b

Please sign in to comment.