BigDevice存储上的数据
cattledb的Python项目详细描述
牛DB
[![生成状态](https://travis-ci.org/wuttem/cattledb.svg?branch=master)](https://travis-ci.org/wuttem/cattledb)
大表时间序列数据库的快速实现
##安装 需要递归选项来构建C加速。 ` git clone --recursivehttps://github.com:wuttem/cattledb.git pip install ./cattledb `
在计算机上运行Docker Emulator进行测试
`bash docker run -it-p 8080:8080 spotify/bigtable-emulator:latest export BIGTABLE_EMULATOR_HOST=localhost:8080 pytest tests `
##在docker中构建和启动测试 ` docker build . -tcattledb-test docker run -itcattledb-test bash service bigtable-server start export BIGTABLE_EMULATOR_HOST="localhost:8080" pytest tests `
编译python protobuf文件 `bash # RUN python -m grpc.tools.protoc --python_out=./cattledb/grpcserver--grpc_python_out=./cattledb/grpcserver--proto_path=./protos cdb.proto # cd to .\cattledb\grpcserver\cdb_pb2_grpc.py # change line import cdb_pb2 as cdb__pb2 # to from . import cdb_pb2 as cdb__pb2 `
###########建造和推动卡特莱德码头 `bash docker build . -t mths/cattledb:latest docker tag mths/cattledb:latest mths/cattledb:0.1 docker push mths/cattledb `
- 项目
标签: