Skip to content

Commit

Permalink
Merge pull request #1810 from AntelopeIO/ehp/gh-1722-update-tutorial
Browse files Browse the repository at this point in the history
[5.0] Update Tutorial Readme
  • Loading branch information
ericpassmore authored Oct 26, 2023
2 parents 200bfa9 + 07a2376 commit d591c0b
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions tutorials/bios-boot-tutorial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,22 @@ The `bios-boot-tutorial.py` script simulates the bios boot sequence.
1. Python 3.x
2. CMake
3. git
4. g++
5. build-essentials
6. pip3
7. openssl
8. curl
9. jq
10. psmisc
4. curl
5. libcurl4-gnutls-dev

## Steps

1. Install Leap 3.1 binaries by following the steps provided in the [Leap README](https://github.com/AntelopeIO/leap/tree/release/3.1#software-installation).
1. Install the latest [Leap binaries](https://github.com/AntelopeIO/leap/releases) by following the steps provided in the README.

2. Install CDT 3.0 binaries by following the steps provided in the [CDT README](https://github.com/AntelopeIO/cdt/tree/release/3.0#binary-releases).
2. Install the latest [CDT binaries](https://github.com/AntelopeIO/cdt/releases) by following the steps provided in the README.

3. Compile EOS System Contracts 3.1:
3. Compile the latest [EOS System Contracts](https://github.com/eosnetworkfoundation/eos-system-contracts/releases). Replaces `release/*latest*` with the latest release branch.

```bash
$ cd ~
$ git clone https://github.com/eosnetworkfoundation/eos-system-contracts system-contracts-3.1
$ cd ./system-contracts-3.1/
$ git checkout release/3.1
$ git clone https://github.com/eosnetworkfoundation/eos-system-contracts
$ cd ./eos-system-contracts/
$ git checkout release/*latest*
$ mkdir build
$ cd ./build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
Expand All @@ -42,8 +37,9 @@ The last command in the previous step printed the contracts directory. Make note
5. Launch the `bios-boot-tutorial.py` script:

```bash
$ pip install numpy
$ cd ~
$ git clone https://github.com/AntelopeIO/leap
$ git clone -b release/*latest* https://github.com/AntelopeIO/leap
$ cd ./leap/tutorials/bios-boot-tutorial/
$ python3 bios-boot-tutorial.py --cleos=cleos --nodeos=nodeos --keosd=keosd --contracts-dir="${CONTRACTS_DIRECTORY}" -w -a
```

0 comments on commit d591c0b

Please sign in to comment.