Skip to content

Commit

Permalink
* update deployment instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
junqizhang-dev committed Jul 30, 2020
1 parent 1fa25f8 commit e7bfe60
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
15 changes: 7 additions & 8 deletions readthedocs/zh_CN/docs/deploy-via-web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,12 @@
.. image:: images/deploy-via-web-guide-deploy-weid-contract.png
:alt: deploy-via-web-guide-deploy-weid-contract.png

- 配置链 ID (Chain Id)
* 配置说明:待连接节点所属的链ID, 安装区块链时自动生成, 一般情况下无需更改。
* 配置要求: 默认 Chain Id 为 1。
- 配置链 ID (chain-id)
* 配置说明:\ `「什么是链 ID (Chain Id) ?」 <./weidentity-spec.html#id4>`_\
* 如果是为了测试或者体验部署工具流程,可以填入一个随意的数字,例如1000

.. note::
1. \ `「什么是链 ID (Chain Id) ?」 <https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/sdk/go_sdk/env_conf.html?highlight=%E9%93%BEid#id6>`_\
2. WeIdentity 智能合约部署完成后将会在 `./output/admin/` 目录下生成 Admin 密钥文件, 用于后续注册权威机构等操作, 请妥善保管。
3. WeIdentity 智能合约部署完成后将会在 `./resources/` 目录下生成相关文件, 以便于您的应用集成 WeIdentity JAVA SDK。

至此, WeIdentity JAVA SDK 的部署已完成。您可以继续通过 WeIdentity 部署工具体验使用 WeIdentity JAVA SDK 的功能, 详见文档。
最后
""""""""""""""""""""""""""""""""""""""""""

至此,配置和部署已经完成,在 `./output/admin/` 目录下生成 Admin 密钥文件, 用于后续注册权威机构等管理操作, 请妥善保管。
5 changes: 2 additions & 3 deletions readthedocs/zh_CN/docs/one-stop-experience.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WeIdentity 入门
第2步:使用 WeIdentity 部署工具完成部署
---------------------------------------

参照\ `部署文档 <./deploy-via-web.html>`_\,完成部署和配置
参照\ `配置教程 <./deploy-via-web.html>`_\,完成配置和部署


第3步:运行 Sample 代码,体验接口(可选)
Expand All @@ -25,7 +25,7 @@ WeIdentity 入门
您可以参考\ `开发样例使用 <./weidentity-sample-commandline.html>`_\,体验 WeIdentity 的各种接口。


第4步:在自己的 Java Service 中集成 WeIdentity Java SDK
第4步:在自己的 Java Service 中集成 WeIdentity Java SDK
-----------------------------------------------------

参考:\ `集成 WeIdentity Java SDK <sdk-integration.html>`_\
Expand All @@ -44,4 +44,3 @@ WeIdentity 入门
-----------------------------------------

我们提供了一些快捷工具,可以帮您快速体验 weid-java-sdk,请参考\ `WeIdentity JAVA SDK 便捷工具使用 <./weidentity-quick-tools.html>`__\。

2 changes: 1 addition & 1 deletion readthedocs/zh_CN/docs/weidentity-spec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ WeIdentity DID = did:weid:chain-id:bs-specific-string

备注:bsSpecificString根据区块链底层平台和业务具体情况来确定生成规则,例如可以是随机字符串,或者区块链上的地址。

示例: ``"did:weid:1:0x0086eb1f712ebc6f1c276e12ec21"``
示例(这个例子中,chain-id是101): ``"did:weid:101:0x0086eb1f712ebc6f1c276e12ec21"``

WeIdentity Document格式
^^^^^^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit e7bfe60

Please sign in to comment.