cello
cello copied to clipboard
install document is EMPTY?
Is your feature request related to a problem? Please describe. for start we must learn, how to install Cello , but the officel document: Server - Hyperledger Cello
is empty
Describe the solution you'd like A clear and concise description of what you want to happen.
google about "hyperledger cello ubuntu install", is all old page, before 2019...
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
and README.md not include enough info. help install in right way; such as:
make all script for cello service management is written in Makefile
and when i try make /opt/proj/cello $ make help
usage: make [target]
Building:
dockerhub-common latest docker images as hosted in dockerhub
dockerhub-agent latest docker images as hosted in dockerhub
Clean:
docker-clean all existing images
image-clean all existing images to rebuild
Code:
check Check code format
test-case Run test case for flask server
clean Clean tox result
Create:
doc local online documentation and start serve
Environment:
reset clean up and remove local storage (only use for development)
setup-master Setup dependency for master node
setup-worker Setup dependency for worker node
Generate:
docker-common docker images locally
agent-docker docker images locally
Log:
log tail special service log, Use like "make log service=dashboard"
logs tail for all service log
Pull:
dockerhub-pull service images from dockerhub
Service:
start Start service
stop Stop service
restart Restart service
Update:
changelog the changelog.md file in the root folder
other:
help Show this help.
there include setup-master
, setup-worker
but offical doc. onthing about how to deploy Cello with multi-host
in others doc. like: 巧用 Hyperledger Cello 开启AWS云端区块链即服务(BaaS) | 亚马逊AWS官方博客 all discuss how to config /etc/sysconfig/docker for define master-worker host;
please appended currently right doc. for how to deploy Cello in Linux host.
Additional context Add any other context or screenshots about the feature request here.
NIL
and follow offcial repo. README
/opt/proj/cello $ make start
if [ "y" = "y" ]; then \
make start-docker-compose; \
else \
make start-k8s; \
fi
make[1]: 进入目录“/opt/proj/cello”
docker-compose -f bootup/docker-compose-files/docker-compose-dev.yml up -d --force-recreate --remove-orphans
ERROR: The Compose file './bootup/docker-compose-files/docker-compose-dev.yml' is invalid because:
networks.cello-net value Additional properties are not allowed ('name' was unexpected)
make[1]: *** [Makefile:209:start-docker-compose] 错误 1
make[1]: 离开目录“/opt/proj/cello”
make: *** [Makefile:212:start] 错误 2
got ERROR.
and try make all means make
:
(base) zoomq @ fab211214cello /opt/proj/cello $ make
make[1]: 进入目录“/opt/proj/cello”
scripts/check_license.sh
Checking files currently modified
Checking committed files for SPDX-License-Identifier headers ...
All files have SPDX-License-Identifier headers
make[1]: 离开目录“/opt/proj/cello”
find ./docs -type f -name "*.md" -exec egrep -l " +$" {} \;
./docs/reference/configuration/server.md
cd src/api-engine && tox && cd /opt/proj/cello
py35 create: /opt/proj/cello/src/api-engine/.tox/py35
SKIPPED: InterpreterNotFound: python3.5
flake8 installed: flake8==4.0.1,mccabe==0.6.1,pycodestyle==2.8.0,pyflakes==2.4.0
flake8 run-test-pre: PYTHONHASHSEED='3824071156'
flake8 run-test: commands[0] | flake8 /opt/proj/cello/src/api-engine
./api/exceptions.py:39:1: W391 blank line at end of file
./api/auth.py:46:13: E265 block comment should start with '# '
./api/auth.py:47:13: E265 block comment should start with '# '
./api/auth.py:48:13: E265 block comment should start with '# '
./api/auth.py:49:13: E265 block comment should start with '# '
./api/auth.py:54:9: E722 do not use bare 'except'
./api/routes/general/views.py:35:17: F841 local variable 'username' is assigned to but never used
./api/routes/general/serializers.py:25:5: E265 block comment should start with '# '
./api/routes/agent/views.py:248:17: E265 block comment should start with '# '
./api/routes/agent/views.py:249:17: E265 block comment should start with '# '
./api/routes/agent/views.py:294:45: E231 missing whitespace after ','
./api/routes/agent/serializers.py:112:5: E265 block comment should start with '# '
./api/routes/agent/serializers.py:187:1: E303 too many blank lines (3)
./api/routes/agent/serializers.py:259:20: W291 trailing whitespace
./api/routes/agent/serializers.py:261:13: E123 closing bracket does not match indentation of opening bracket's line
./api/routes/channel/views.py:110:47: E231 missing whitespace after ','
./api/routes/channel/views.py:114:33: E251 unexpected spaces around keyword / parameter equals
./api/routes/channel/views.py:114:70: E231 missing whitespace after ','
./api/routes/channel/views.py:119:32: E222 multiple spaces after operator
./api/routes/channel/views.py:120:51: E231 missing whitespace after ','
./api/routes/channel/views.py:121:21: E265 block comment should start with '# '
./api/routes/channel/views.py:122:36: E231 missing whitespace after ','
./api/routes/channel/views.py:123:1: W293 blank line contains whitespace
./api/routes/channel/views.py:208:71: E261 at least two spaces before inline comment
./api/routes/channel/views.py:211:24: E225 missing whitespace around operator
./api/routes/channel/views.py:212:34: E231 missing whitespace after ':'
./api/routes/channel/views.py:229:6: W292 no newline at end of file
./api/routes/channel/serializers.py:8:5: E265 block comment should start with '# '
./api/routes/user/views.py:35:5: E265 block comment should start with '# '
./api/routes/network/views.py:185:17: F841 local variable 'database' is assigned to but never used
./api/routes/network/views.py:305:13: W292 no newline at end of file
./api/routes/network/serializers.py:34:5: E301 expected 1 blank line, found 0
./api/routes/node/views.py:135:25: E265 block comment should start with '# '
./api/routes/node/views.py:297:63: E226 missing whitespace around arithmetic operator
./api/routes/node/views.py:304:37: E226 missing whitespace around arithmetic operator
./api/routes/node/views.py:516:21: E265 block comment should start with '# '
./api/routes/node/serializers.py:202:13: E265 block comment should start with '# '
./api/routes/node/serializers.py:234:5: E303 too many blank lines (2)
./api/routes/organization/views.py:43:1: F811 redefinition of unused 'Organization' from line 21
./api/routes/organization/views.py:57:5: E265 block comment should start with '# '
./api/routes/organization/views.py:58:5: E265 block comment should start with '# '
./api/routes/organization/views.py:159:30: E226 missing whitespace around arithmetic operator
./api/routes/organization/views.py:159:74: E226 missing whitespace around arithmetic operator
./api/routes/organization/views.py:346:13: F841 local variable 'organization' is assigned to but never used
./api/routes/organization/views.py:346:87: E231 missing whitespace after ','
./api/routes/organization/views.py:346:106: E231 missing whitespace after ','
./api/routes/organization/serializers.py:25:5: E301 expected 1 blank line, found 0
./api/routes/organization/serializers.py:32:1: E303 too many blank lines (3)
./api/utils/node_config.py:9:1: E302 expected 2 blank lines, found 1
./api/utils/node_config.py:134:1: W391 blank line at end of file
./api/utils/__init__.py:35:17: E265 block comment should start with '# '
./api/utils/__init__.py:42:5: E303 too many blank lines (2)
./api/common/response.py:10:1: E302 expected 2 blank lines, found 0
./api/lib/peer/channel.py:24:21: E128 continuation line under-indented for visual indent
./api/lib/peer/channel.py:64:9: F841 local variable 'e' is assigned to but never used
./api/lib/peer/chaincode.py:23:28: E226 missing whitespace around arithmetic operator
./api/lib/peer/chaincode.py:23:32: E226 missing whitespace around arithmetic operator
./api/lib/peer/chaincode.py:114:31: E226 missing whitespace around arithmetic operator
./api/lib/peer/chaincode.py:114:35: E226 missing whitespace around arithmetic operator
./api/lib/peer/chaincode.py:255:93: E262 inline comment should start with '# '
./api/lib/pki/__init__.py:5:46: W292 no newline at end of file
./api/lib/pki/cryptogen/cryptogen.py:52:1: W391 blank line at end of file
./api/lib/pki/cryptogen/__init__.py:3:2: W292 no newline at end of file
./api/lib/pki/cryptogen/__init__.py:3:2: W292 no newline at end of file
./api/lib/pki/cryptogen/__init__.py:3:2: W292 no newline at end of file
./api/lib/pki/cryptogen/cryptocfg.py:112:1: W391 blank line at end of file
./api/lib/agent/__init__.py:4:47: W292 no newline at end of file
./api/lib/agent/docker/handler.py:77:17: E117 over-indented
./api/lib/agent/docker/handler.py:87:17: E117 over-indented
./api/lib/agent/docker/handler.py:97:17: E117 over-indented
./api/lib/agent/docker/handler.py:107:17: E117 over-indented
./api/lib/agent/docker/__init__.py:5:1: W391 blank line at end of file
./api/lib/configtxgen/configtxgen.py:53:112: E226 missing whitespace around arithmetic operator
./api/lib/configtxgen/configtxgen.py:71:47: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:9:1: E302 expected 2 blank lines, found 1
./api/lib/configtxgen/configtx.py:10:6: E111 indentation is not a multiple of 4
./api/lib/configtxgen/configtx.py:10:6: E117 over-indented
./api/lib/configtxgen/configtx.py:11:12: E111 indentation is not a multiple of 4
./api/lib/configtxgen/configtx.py:11:12: E117 over-indented
./api/lib/configtxgen/configtx.py:11:30: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:13:1: E302 expected 2 blank lines, found 1
./api/lib/configtxgen/configtx.py:49:12: W291 trailing whitespace
./api/lib/configtxgen/configtx.py:55:79: W291 trailing whitespace
./api/lib/configtxgen/configtx.py:56:1: W293 blank line contains whitespace
./api/lib/configtxgen/configtx.py:60:1: W293 blank line contains whitespace
./api/lib/configtxgen/configtx.py:62:54: E226 missing whitespace around arithmetic operator
./api/lib/configtxgen/configtx.py:64:46: E127 continuation line over-indented for visual indent
./api/lib/configtxgen/configtx.py:65:46: E127 continuation line over-indented for visual indent
./api/lib/configtxgen/configtx.py:65:123: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:65:139: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:66:46: E127 continuation line over-indented for visual indent
./api/lib/configtxgen/configtx.py:66:89: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:67:89: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:68:88: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:69:25: E124 closing bracket does not match visual indentation
./api/lib/configtxgen/configtx.py:76:44: E131 continuation line unaligned for hanging indent
./api/lib/configtxgen/configtx.py:76:116: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:88:117: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:88:130: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:89:43: E265 block comment should start with '# '
./api/lib/configtxgen/configtx.py:90:86: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:90:155: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:90:163: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:91:86: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:91:141: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:92:85: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:108:57: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:109:13: E121 continuation line under-indented for hanging indent
./api/lib/configtxgen/configtx.py:146:71: W291 trailing whitespace
./api/lib/configtxgen/configtx.py:150:58: E226 missing whitespace around arithmetic operator
./api/lib/configtxgen/configtx.py:169:13: E225 missing whitespace around operator
./api/lib/configtxgen/configtx.py:169:22: E231 missing whitespace after ':'
./api/lib/configtxgen/configtx.py:169:39: E231 missing whitespace after ','
./api/lib/configtxgen/configtx.py:169:47: E231 missing whitespace after ':'
./api/lib/configtxgen/configtx.py:169:76: E231 missing whitespace after ':'
./api/lib/configtxgen/__init__.py:5:37: W292 no newline at end of file
./api_engine/urls.py:43:1: E265 block comment should start with '# '
./api_engine/urls.py:75:5: E265 block comment should start with '# '
ERROR: InvocationError for command /opt/proj/cello/src/api-engine/.tox/flake8/bin/flake8 . (exited with code 1)
___________________________________________________________________________________ summary ____________________________________________________________________________________
SKIPPED: py35: InterpreterNotFound: python3.5
ERROR: flake8: commands failed
make: *** [Makefile:171:check] 错误 1
and follow offcial repo. README
/opt/proj/cello $ make start
if [ "y" = "y" ]; then \ make start-docker-compose; \ else \ make start-k8s; \ fi make[1]: 进入目录“/opt/proj/cello” docker-compose -f bootup/docker-compose-files/docker-compose-dev.yml up -d --force-recreate --remove-orphans ERROR: The Compose file './bootup/docker-compose-files/docker-compose-dev.yml' is invalid because: networks.cello-net value Additional properties are not allowed ('name' was unexpected) make[1]: *** [Makefile:209:start-docker-compose] 错误 1 make[1]: 离开目录“/opt/proj/cello” make: *** [Makefile:212:start] 错误 2
got ERROR.
Is there a work around for this? I'm working on CentOS 8, and trying to get Cello running.
/home/damien_hunter9/Files/cello/src/api-engine/api_engine/urls.py:75:5: E265 block comment should start with '# ' ERROR: InvocationError for command '/home/damien_hunter9/Files/cello/src/api-engine/.tox/flake8/bin/flake8 /home/damien_hunter9/Files/cello/src/api-engine' (exited with code 1) ________________________________________________________________________________ summary _________________________________________________________________________________ SKIPPED: py35: InterpreterNotFound: python3.5 ERROR: flake8: commands failed make: *** [Makefile:171: check] Error 1
I also tried "sudo make". Everything on the server is upto date.
@damienhunter30 maybe i think you can open this file . vim bootup/docker-compose-files/docker-compose-dev.yml
chang this file version: '3.2' => '2.2'