Skip to content

Commit

Permalink
Merge pull request #49 from chenhaozx/feature/modify-sdk-installation…
Browse files Browse the repository at this point in the history
…-doc

modify fisco-solc website link in installation doc
  • Loading branch information
chenhaozx committed Feb 26, 2019
2 parents 625d520 + 9a4db52 commit 8e12fe2
Showing 1 changed file with 22 additions and 33 deletions.
55 changes: 22 additions & 33 deletions docs/zh_CN/docs/weidentity-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,43 +15,32 @@ WeIdentity JAVA SDK安装部署文档
准备工作
--------

操作系统
""""""""
.. list-table::
:header-rows: 1

* - 配置
- 说明
* - 操作系统
- CentOS (7.2 64位)或Ubuntu(16.04 64位)。
* - FISCO-BCOS区块链环境
- 您需要有一套可以运行的FISCO-BCOS区块链环境,如果没有,可以参考\ `「FISCO-BCOS节点安装方法」 <https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/tools/index.html>`_\ 来搭建一套区块链环境。
* - JDK
- 要求\ `JDK1.8+ <https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html>`_\ ,推荐使用jdk8u141。
* - fisco-solc
- fisco-solc是solidity的编译器。
CentOs:`fisco-solc-centos <https://github.com/FISCO-BCOS/solidity/releases/download/release-1.3/fisco-solc-centos>`_ ,
Ubuntu:`fisco-solc-ubuntu <https://github.com/FISCO-BCOS/solidity/releases/download/release-1.3/fisco-solc-ubuntu>`_ 。
fisco-solc安装方法:将fisco-solc拷贝到系统的/usr/bin目录下,执行命令\ ``chmod +x fisco-solc``\
* - gradle
- WeIdentity JAVA SDK使用\ `gradle <https://gradle.org/>`_\ 进行构建,您需要提前安装好gradle,版本要求不低于4.3。
* - 网络连通
- 检查WeIdentity JAVA SDK部署环境是否能telnet通FISCO BCOS节点的channelPort端口,若telnet不通,需要检查网络连通性和安全策略。

CentOS (7.2 64位)或Ubuntu(16.04 64位)

FISCO-BCOS区块链环境
""""""""""""""""""""

您需要有一套可以运行的FISCO-BCOS区块链环境,如果没有,可以参考\ `「FISCO-BCOS节点安装方法」 <https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/tools/index.html>`_\ 来搭建一套区块链环境。

JDK
"""

要求\ `JDK1.8+ <https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html>`_\ 。推荐使用jdk8u141

fisco-solc
""""""""""

fisco-solc是solidity的编译器。\ `下载地址 <https://github.com/FISCO-BCOS/FISCO-BCOS/blob/master/fisco-solc>`_


* fisco-solc安装方法:将fisco-solc拷贝到系统的/usr/bin目录下,执行命令\ ``chmod +x fisco-solc``\

gradle
""""""

WeIdentity JAVA SDK使用\ `gradle <https://gradle.org/>`_\ 进行构建,您需要提前安装好gradle,版本要求不低于4.3。

网络连通
""""""""

检查WeIdentity JAVA SDK部署环境是否能telnet通FISCO BCOS节点的channelPort端口,若telnet不通,需要检查网络连通性和安全策略。

安装部署
--------

我们提供两种方式使用SDK
我们提供两种方式安装部署SDK

* `源码方式 <https://weidentity.readthedocs.io/projects/javasdk/zh_CN/latest/docs/weidentity-installation-by-sourcecode.html>`_
* `weidentity-build-tools方式 <https://weidentity.readthedocs.io/projects/buildtools/zh_CN/latest/docs/weidentity-build-tools-doc.html>`_
* `安装部署工具方式 <https://weidentity.readthedocs.io/projects/buildtools/zh_CN/latest/docs/weidentity-build-tools-doc.html>`_

0 comments on commit 8e12fe2

Please sign in to comment.