Browse Source

docs: formatting

build/deps-updates
CharlieC3 4 years ago
committed by Alexander Graebe
parent
commit
de4fe94626
  1. 17
      src/pages/mining.md
  2. 2
      src/pages/stacks-blockchain/local-development.md
  3. 9
      src/pages/stacks-blockchain/running-testnet-node.md

17
src/pages/mining.md

@ -214,12 +214,14 @@ docker logs -f stacks_miner
In addition, you're also able to run a testnet node in a Kubernetes cluster using the [stacks-blockchain Helm chart](https://github.com/blockstack/stacks-blockchain/tree/master/helm/stacks-blockchain).
-> Ensure you have the following prerequisites installed on your machine:
* [minikube](https://minikube.sigs.k8s.io/docs/start/) (Only needed if standing up a local Kubernetes cluster)
* [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
* [helm](https://helm.sh/docs/intro/install/)
Ensure you have the following prerequisites installed on your machine:
### Generate keychain and get testnet tokens
- [Docker](https://docs.docker.com/get-docker/)
- [minikube](https://minikube.sigs.k8s.io/docs/start/) (Only needed if standing up a local Kubernetes cluster)
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
- [helm](https://helm.sh/docs/intro/install/)
### Generate keychain
Generate a keychain:
@ -227,6 +229,8 @@ Generate a keychain:
docker run -i node:alpine npx blockstack-cli@1.1.0-beta.1 make_keychain -t
```
### Request testnet tokens
Request BTC from the faucet:
```bash
@ -242,7 +246,8 @@ To install the chart with the release name `my-release` and run the node as a mi
minikube start # Only run this if standing up a local Kubernetes cluster
helm repo add blockstack https://charts.blockstack.xyz
helm install my-release blockstack/stacks-blockchain \
--set config.node.miner=true --set config.node.seed="REPLACE-WITH-YOUR-PRIVATE-KEY"
--set config.node.miner=true \
--set config.node.seed="replace-with-your-privateKey-from-generate-keychain-step"
```
You can review the node logs with this command:

2
src/pages/stacks-blockchain/local-development.md

@ -1,5 +1,5 @@
---
title: Loccal development
title: Local development
description: Set up and run a mocknet with docker
icon: TestnetIcon
images:

9
src/pages/stacks-blockchain/running-testnet-node.md

@ -123,10 +123,11 @@ docker logs -f stacks_follower
In addition, you're also able to run a testnet node in a Kubernetes cluster using the [stacks-blockchain Helm chart](https://github.com/blockstack/stacks-blockchain/tree/master/helm/stacks-blockchain).
-> Ensure you have the following prerequisites installed on your machine:
* [minikube](https://minikube.sigs.k8s.io/docs/start/) (Only needed if standing up a local Kubernetes cluster)
* [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
* [helm](https://helm.sh/docs/intro/install/)
Ensure you have the following prerequisites installed on your machine:
- [minikube](https://minikube.sigs.k8s.io/docs/start/) (Only needed if standing up a local Kubernetes cluster)
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
- [helm](https://helm.sh/docs/intro/install/)
To install the chart with the release name `my-release` and run the node as a follower:

Loading…
Cancel
Save