feat: add docs for Besu

This commit is contained in:
RadoslavDimchev 2023-10-26 10:26:45 +03:00
parent 462cf75201
commit ddc4276faa

View File

@ -26,9 +26,11 @@ export const DOCUMENTATIONS: Documentation = {
icon: '/icons/hyperledger-besu-circle.png',
general: '',
documentation: {
[MAC]: 'Text for mac',
[WINDOWS]: 'Text for windows',
[LINUX]: 'Text for linux',
[MAC]:
"### MacOS with Homebrew\n**Prerequisites**\n- Homebrew\n- Java JDK\n**CAUTION**\nHyperledger Besu supports:\n\n- MacOS High Sierra 10.13 or later versions.\n- Java 17+. You can install Java using `brew install openjdk`. Alternatively, you can manually install the Java JDK.\n**Install (or upgrade) using Homebrew**\nTo install Besu using Homebrew:\n```bash\nbrew tap hyperledger/besu\nbrew install hyperledger/besu/besu\n```\nTo upgrade an existing Besu installation using Homebrew:\n```bash\nbrew upgrade hyperledger/besu/besu\n```\n**NOTE**\nIf you've upgraded your MacOS version between installing and upgrading Besu, when running `brew upgrade hyperledger/besu/besu` you may be prompted to reinstall command line tools with `xcode-select --install`.\n**NOTE**\nWhen upgrading Besu, you might be prompted to fix the remote branch names in Homebrew by using the command `brew tap --repair`.\nTo display the Besu version and confirm installation:\n```bash\nbesu --version\n```\nTo display Besu command line help:\n```bash\nbesu --help\n```",
[WINDOWS]: '',
[LINUX]:
'### Linux / Unix\n**Prerequisites**\n- Java JDK 17+\n**LINUX OPEN FILE LIMIT**\nIf synchronizing to Mainnet on Linux or other chains with large data requirements, increase the maximum number of open files allowed using `ulimit`. If the open files limit is not high enough, a `Too many open files RocksDB` exception occurs.\n**TIP**\nWe recommend installing `jemalloc` to reduce memory usage. If using Ubuntu, you can install it with the command: `apt install libjemalloc-dev`.\n**Install from packaged binaries**\nDownload the Besu packaged binaries.\n\nUnpack the downloaded files and change into the `besu-<release>` directory.\n\nDisplay Besu command line help to confirm installation:\n```bash\nbin/besu --help\n```',
},
},
Geth: {