| commit | ecd419c699d196215a447c0391aabed85191d37e | [log] [tgz] |
|---|---|---|
| author | Gopal Nambiar <gopalnambiar2@gmail.com> | Thu Nov 16 15:34:54 2023 -0800 |
| committer | GitHub <noreply@github.com> | Thu Nov 16 15:34:54 2023 -0800 |
| tree | 6ce9d367f73f8fd83d580afcde44a62a0e93e448 | |
| parent | 96a07dc49702370bd099e99a4b639a528e8a826b [diff] | |
| parent | 7c788fbb1ff0cede54bd1e3847fa53202ab3cc6f [diff] |
Merge pull request #13 from resilientdb/logo_latest Updated loqo quality
$ 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/service.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