Skip to content
Snippets Groups Projects
Commit 89e663b9 authored by Yinan Wang's avatar Yinan Wang
Browse files

Update README.md with some additional information of installing iroha.

parent 3aede674
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,11 @@ If above does not work, try restarting. You can check that user is part of docke ...@@ -47,7 +47,11 @@ If above does not work, try restarting. You can check that user is part of docke
### Iroha ### 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: 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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment