Skip to content

Commit

Permalink
feat: update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bk1012 committed Apr 2, 2024
1 parent 6244f1c commit 571f813
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The download script (`scripts/download.js`) uses the Alipay CloudIDE extension m

### How to modify the plugin market source

You can refer to the code here: [node/start-server.ts#L18](https://github.com/opensumi/opensumi-module-samples/blob/main/example/src/node/start-server.ts# L18), add relevant parameter information in the configuration parameters of the Node process startup. The specific configuration is as follows:
You can refer to the code here: [node/start-server.ts#L18](https://github.com/opensumi/opensumi-module-samples/blob/main/example/src/node/start-server.ts#L18) , add relevant parameter information in the configuration parameters of the Node process startup. The specific configuration is as follows:

#### Alipay CloudIDE Marketplace

Expand All @@ -43,8 +43,7 @@ let opts: IServerAppOpts = {
...
};
```
The `accountId` and `masterKey` used in the above configuration are the public secret key provided by the Alipay CloudIDE Marketplace. This secret key can access all public extensions in the marketplace by default. If you need to customize the secret key, you can refer to the client management section in the [Alipay CloudIDE Marketplace documentation](https://www.opentrs.cn/cloudide/documents/documentDetail?productStr=cloudide-20221026&nameSpace=trms2d/xyyfdt&slug=ooxr2vxp32r9hv4q). Through the custom secret key, you can access your private extensions hosted in the marketplace.

The 'accountId' and 'masterKey' used in the above configuration are public keys provided by the Alipay CloudIDE Marketplace. By default, the key can access all public extension. If you need a custom key, please refer to [Alipay CloudIDE Marketplace](https://opendocs.alipay.com/cloud/0b5470) The content of the client management section in allows users to access private extension which hosted in the extension marketplace through custom keys

#### Eclipse Open VSX

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ let opts: IServerAppOpts = {
...
};
```
上文配置中使用的 `accountId``masterKey` 是由支付宝小程序云 CloudIDE 插件市场提供的公共密钥,该密钥默认可访问插件市场中全部的公开插件,如需要自定义密钥,可以参考 [支付宝小程序云 CloudIDE 插件市场文档](https://www.opentrs.cn/cloudide/documents/documentDetail?productStr=cloudide-20221026&nameSpace=trms2d/xyyfdt&slug=ooxr2vxp32r9hv4q) 中的客户端管理一节的内容,通过自定义密钥,用户可以访问自己托管在插件市场中的私有插件
上文配置中使用的 `accountId``masterKey` 是由支付宝小程序云 CloudIDE 插件市场提供的公共密钥,该密钥默认可访问插件市场中全部的公开插件,如需要自定义密钥,可以参考 [支付宝小程序云 CloudIDE 插件市场文档](https://opendocs.alipay.com/cloud/0b5470) 中的客户端管理一节的内容,通过自定义密钥,用户可以访问自己托管在插件市场中的私有插件

#### Eclipse Open VSX

Expand Down

0 comments on commit 571f813

Please sign in to comment.