Cello GitHubcss
Hyperledger Cello 幫助有效管理區塊鏈網絡。vue
對於新用戶,強烈建議先閱讀tutorial或indexnode
隨時訪問在線文檔以獲取更多信息。您也能夠運行make doc
來啓動本地文檔網站(在localhost:8000
)上進行查閱。react
Cello 遵循典型的主 -從 工做體系結構。羣集中有兩種類型的節點。git
$ sudo aptitude install git make -y
$ git clone http://gerrit.hyperledger.org/r/cello && cd cello
首次運行時,請使用setup.sh設置主節點。
github
$ make setup-master
make start
make stop
make restart
make redeploy service=dashboard
make logs
make log service=watchdog #查看特定服務的日誌
DEV=True make start
THEME Theme name for operator dashboard basic/vue/react, default is basic NPM_REGISTRY npm registry for install node packages DEV Start service in dev/product mode, options is True/False, default is True ENABLE_EMAIL_ACTIVE Whether register user in user-dashboard need to active manually SMTP_SERVER smtp server address for send active email to user SMTP_PORT smtp server port SMTP_AUTH_USERNAME Username for authenticate of smtp server SMTP_AUTH_PASSWORD Password for authenticate of smtp server FROM_EMAIL Email address display to user
$ sudo systemctl stop docker.service
$ sudo dockerd -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock --api-cors-header='*' --default-ulimit=nofile=8192:16384 --default-ulimit=nproc=8192:16384 -D &
最後,在主節點運行後續測試並得到OK響應,以確保它能夠成功訪問Worker節點。web
[Master] $ docker -H Worker_Node_IP:2375 info
$ make setup-worker
爲了不莫名其妙的問題,最好把防火牆都關了,節約時間方便學習研究,生產環境另說docker
至此完成,訪問MASTER_NODE_IP:8080就行,繼續摸索前進npm