From 89e663b9f6fb29a5cb46f5e482c03e4c7894242e Mon Sep 17 00:00:00 2001 From: Yinan Wang <yinwa337@student.liu.se> Date: Mon, 5 Dec 2022 13:53:49 +0000 Subject: [PATCH] Update README.md with some additional information of installing iroha. --- iroha-drip-general-master/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/iroha-drip-general-master/README.md b/iroha-drip-general-master/README.md index dd91cda..bd2a66e 100644 --- a/iroha-drip-general-master/README.md +++ b/iroha-drip-general-master/README.md @@ -47,7 +47,11 @@ If above does not work, try restarting. You can check that user is part of docke ### Iroha -You need to first compile [my version of Iroha 1.2.0](https://gitlab.liu.se/drip_iroha/iroha-1.2.0-drip), as that version contains other regex validation for account id that allows some characters contained in a HHIT. Instructions to compile can be found [here](https://iroha.readthedocs.io/en/main/build/index.html). +The first way: you need to first compile [my version of Iroha 1.2.0](https://gitlab.liu.se/drip_iroha/iroha-1.2.0-drip), as that version contains other regex validation for account id that allows some characters contained in a HHIT. Instructions to compile can be found [here](https://iroha.readthedocs.io/en/main/build/index.html). + +Try this when the first way is hard and complex to achieve: +The second way is to use command "pip install iroha" on Linux (the newest version of iroha on 5th/Dec/2022 is 1.4.1.1). Additionally, to run the code, the version of package named "protobuf" needs to be downgrade to the version <= 3.20.1 (just use 3.20.1), by using command "pip install protobuf==3.20.1". Other than that, you may also meet the problem of lacking packages "gps" and "dotenv", theses can be installed by using "pip install gps" and "pip install python-dotenv", the newest version will be auto installed. + Once it's compiled, you would need to start it with the correct configurations. These can be found in iroha/node_config (in this repository). In the same folder where you have compiled the iroha binaries (usually in `build/bin`), copy over the configration files and run: -- GitLab