Fix rendering and start adding next steps

This commit is contained in:
Chris Ward 2019-09-03 15:24:27 +02:00
parent c49abfc4a8
commit 04772c134c
3 changed files with 43 additions and 10 deletions

View file

@ -25,42 +25,47 @@ default_root: ".."
collections_dir: docs
collections:
getting-started:
output: true
caption: Getting started
sidebar_index: 1
frontpage: _getting-started/index.md
install-and-build:
output: true
caption: Install and build
sidebar_index: 1
sidebar_index: 2
frontpage: _install-and-build/Installing-Geth.md
interface:
output: true
caption: Interacting with Geth
sidebar_index: 2
sidebar_index: 3
support:
output: true
caption: Issues and support
sidebar_index: 3
sidebar_index: 4
developers:
output: true
caption: Developer docs
sidebar_index: 4
sidebar_index: 5
clef:
output: true
caption: Clef
sidebar_index: 5
sidebar_index: 6
frontpage: _clef/Overview.md
whisper:
output: true
caption: Whisper
sidebar_index: 6
sidebar_index: 7
frontpage: _whisper/Whisper-Overview.md
rpc:
output: true
caption: JSON RPC APIs
sidebar_index: 7
sidebar_index: 8
doc:
output: true
caption: Other
sidebar_index: 8
sidebar_index: 9
legacy:
output: true
caption: Legacy content
sidebar_index: 9
sidebar_index: 10

View file

@ -1,3 +1,4 @@
Getting started:
Install and build:
- Downloads: /downloads
- Installing Ethereum: /docs/Building-Ethereum
@ -20,4 +21,4 @@ Developers:
- Mobile Clients: /docs/Mobile-Clients/Libraries-and-Inproc-Ethereum-Nodes
- Native DApps: /docs/Native-DApps/Go-bindings-to-Ethereum-contracts
- Active go-ethereum projects: /docs/Active-go-ethereum-projects
- Other documents: /docs/other-documents
- Other documents: /docs/other-documents

View file

@ -1,5 +1,6 @@
---
title: Getting Started with Geth
permalink: getting-started
---
## Installing
@ -122,3 +123,29 @@ eth.accounts
<!-- TODO: Read more -->
## Next steps
<!-- I like the idea of having a Getting started section. You may want to describe a few ways to get your feet wet with Geth (fast sync with a test net, dev mode, start a private network). -->
### Fast sync a test network
<!-- TODO: What happens if you don't specify? -->
You learned about the `--syncmode` argument above, but you can also specify the network to sync with, by adding it as an argument. For example to fast sync with the Rinkeby test network:
```shell
geth --syncmode "fast" --rinkeby
```
To check the status of the sync, open another terminal, attach to the geth process, and open a console with the command below:
<!-- TODO: Figuring out what to attach to seems difficult -->
```shell
geth attach ipc:{FILL_THIS}
```
Then at the `>` prompt, run the command below to the current state of the sync operation:
```shell
eth.syncing
```