fix: Geth docs and macOS content
This commit is contained in:
parent
5a2d6af168
commit
eba0f3a949
|
@ -30,74 +30,12 @@ export const DOCUMENTATIONS: Documentation = {
|
|||
},
|
||||
Geth: {
|
||||
icon: '/icons/gethereum-mascot-circle.png',
|
||||
general: [
|
||||
{
|
||||
type: 'text',
|
||||
content:
|
||||
'There are several ways to install Geth, including via a package manager, downloading a pre-built bundle, running as a docker container or building from downloaded source code. On this page the various installation options are explained for several major operating systems. Users prioritizing ease of installation should choose to use a package manager or prebuilt bundle. Users prioritizing customization should build from source. It is important to run the latest version of Geth because each release includes bugfixes and improvements over the previous versions. The stable releases are recommended for most users because they have been fully tested. A list of stable releases can be found',
|
||||
},
|
||||
{
|
||||
type: 'link',
|
||||
content: 'here',
|
||||
to: 'https://github.com/ethereum/go-ethereum/releases',
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
content:
|
||||
'. Instructions for updating existing Geth installations are also provided in each section.',
|
||||
},
|
||||
],
|
||||
general: `There are several ways to install Geth, including via a package manager, downloading a pre-built bundle, running as a docker container or building from downloaded source code. On this page the various installation options are explained for several major operating systems. Users prioritizing ease of installation should choose to use a package manager or prebuilt bundle. Users prioritizing customization should build from source. It is important to run the latest version of Geth because each release includes bugfixes and improvements over the previous versions. The stable releases are recommended for most users because they have been fully tested. A list of stable releases can be found here. Instructions for updating existing Geth installations are also provided in each section.`,
|
||||
documentation: {
|
||||
[MAC]: [
|
||||
{
|
||||
type: 'text',
|
||||
content:
|
||||
'The easiest way to install go-ethereum is to use the Geth Homebrew tap. The first step is to check that Homebrew is installed. The following command should return a version number.',
|
||||
},
|
||||
{
|
||||
type: 'code',
|
||||
content: ['brew -v'],
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
content:
|
||||
'If a version number is returned, then Homebrew is installed. If not, Homebrew can be installed by following the instructions here. With Homebrew installed, the following commands add the Geth tap and install Geth:',
|
||||
},
|
||||
{
|
||||
type: 'code',
|
||||
content: ['brew tap ethereum/ethereum', 'brew install ethereum'],
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
content:
|
||||
"The previous command installs the latest stable release. Developers that wish to install the most up-to-date version can install the Geth repository's master branch by adding the --devel parameter to the install command:",
|
||||
},
|
||||
{
|
||||
type: 'code',
|
||||
content: ['brew install ethereum --devel'],
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
content:
|
||||
'These commands install the core Geth software and the following developer tools: clef, devp2p, abigen, bootnode, evm, and rlpdump. The binaries for each of these tools are saved in /usr/local/bin/. The full list of command line options can be viewed here or in the terminal by running geth --help.',
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
content:
|
||||
'Updating an existing Geth installation to the latest version can be achieved by stopping the node and running the following commands:',
|
||||
},
|
||||
{
|
||||
type: 'code',
|
||||
content: ['brew update', 'brew upgrade', 'brew reinstall ethereum'],
|
||||
},
|
||||
{
|
||||
type: 'text',
|
||||
content:
|
||||
'When the node is started again, Geth will automatically use all the data from the previous version and sync the blocks that were missed while the node was offline.',
|
||||
},
|
||||
],
|
||||
[WINDOWS]: [{ type: 'text', content: 'Text for windows' }],
|
||||
[LINUX]: [{ type: 'text', content: 'Text for linux' }],
|
||||
[MAC]:
|
||||
"## MacOS via Homebrew\nThe easiest way to install go-ethereum is to use the Geth Homebrew tap. The first step is to check that Homebrew is installed. The following command should return a version number.\n\n`brew -v`\n\nIf a version number is returned, then Homebrew is installed. If not, Homebrew can be installed by following the instructions here. With Homebrew installed, the following commands add the Geth tap and install Geth:\n\n`brew tap ethereum/ethereum`\n`brew install ethereum`\n\nThe previous command installs the latest stable release. Developers that wish to install the most up-to-date version can install the Geth repository's master branch by adding the --devel parameter to the install command:\n\n`brew install ethereum --devel`\n\nThese commands install the core Geth software and the following developer tools: clef, devp2p, abigen, bootnode, evm, and rlpdump. The binaries for each of these tools are saved in /usr/local/bin/. The full list of command line options can be viewed here or in the terminal by running geth --help.\n\nUpdating an existing Geth installation to the latest version can be achieved by stopping the node and running the following commands:\n\n`brew update`\n`brew upgrade`\n`brew reinstall ethereum`\n\nWhen the node is started again, Geth will automatically use all the data from the previous version and sync the blocks that were missed while the node was offline.",
|
||||
[WINDOWS]: ``,
|
||||
[LINUX]: ``,
|
||||
},
|
||||
},
|
||||
Erigon: {
|
||||
|
|
Loading…
Reference in New Issue