commit | 469f998ca69b84eb6a2d9200fff7c54484303d45 | [log] [tgz] |
---|---|---|
author | Glenn Chen <glenn.jun.chen@gmail.com> | Mon Dec 18 21:47:36 2023 -0800 |
committer | Glenn Chen <glenn.jun.chen@gmail.com> | Mon Dec 18 21:47:36 2023 -0800 |
tree | d3d2e711d5a3f8fc2e5c4e934f0226704c078d4f | |
parent | 99d0ec0e157ad5ea79c1a867efad8c4e8b75bae6 [diff] | |
parent | c14167d842d6d8f7283ca66d67a41ac9dc2e604e [diff] |
Merge branch 'main' of github.com:resilientdb/sdk into fix-populatetable
$ python3 --version
If your Python version number is too low you may encounter type hinting issues when attempting to run the code. You can use a Python virtual environment, as shown below.
$ sh INSTALL.sh
$ python3.10 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
The correct Python configuration is needed for transaction validation.
If your virtual environment is not already active:
$ source venv/bin/activate
Run the script to start 4 local nodes
$ sh service/tools/start_kv_service_sdk.sh
$ bazel build service/http_server/crow_service_main
$ bazel-bin/service/http_server/crow_service_main service/tools/config/interface/client.config service/http_server/server_config.config
For a list of endpoints visit here
$ bazel-bin/service/kv_service/kv_service_tools service/tools/config/interface/service.config set test 1234
Examples of using the driver can be seen in test_driver
Replace the db_root_url with the address of the ResilientDB HTTP endpoints e.g. 127.0.0.1:18000