From 420ff8a25fb7fc2a04e0d55243227c0e5c4dc935 Mon Sep 17 00:00:00 2001 From: CharlieC3 <2747302+CharlieC3@users.noreply.github.com> Date: Fri, 8 Jan 2021 17:54:53 -0500 Subject: [PATCH] chore: address changes --- next.config.js | 5 +++++ src/pages/start-mining/mainnet.md | 6 +++--- src/pages/start-mining/testnet.md | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/next.config.js b/next.config.js index 5f15935c..622ae9e4 100755 --- a/next.config.js +++ b/next.config.js @@ -608,6 +608,11 @@ async function redirects() { destination: '/start-mining/mainnet', permanent: true, }, + { + source: '/start-mining', + destination: '/start-mining/mainnet', + permanent: true, + }, { source: '/smart-contracts/overview', destination: '/write-smart-contracts/overview', diff --git a/src/pages/start-mining/mainnet.md b/src/pages/start-mining/mainnet.md index 02220d02..e2fbb5e2 100644 --- a/src/pages/start-mining/mainnet.md +++ b/src/pages/start-mining/mainnet.md @@ -36,7 +36,7 @@ First, download the bitcoind software for your platform from https://bitcoin.org Next, start bitcoind with the following configuration: -``` +```toml server=1 rpcuser=your-bitcoind-username rpcpassword=your-bitcoind-password @@ -65,10 +65,10 @@ First, a keychain needs to be generated. With this keychain, we'll purchase some To get a keychain, the simplest way is to use the `stacks-cli`. We'll use the `make_keychain` command. ```bash -npx @stacks/cli make_keychain 2>/dev/null +npx @stacks/cli make_keychain 2>/dev/null | json_pp > keychain.txt ``` -After this runs, you'll probably see some installation logs, and at the end you should see some JSON that looks like this: +After this runs, you should see some JSON in the new `keychain.txt` file that looks like this: ```json { diff --git a/src/pages/start-mining/testnet.md b/src/pages/start-mining/testnet.md index 8e6a81cd..d9fc5020 100644 --- a/src/pages/start-mining/testnet.md +++ b/src/pages/start-mining/testnet.md @@ -31,7 +31,7 @@ First, download the bitcoind software for your platform from https://bitcoin.org Next, start bitcoind with the following configuration: -``` +```toml server=1 rpcuser=your-bitcoind-username rpcpassword=your-bitcoind-password @@ -63,10 +63,10 @@ First, a keychain needs to be generated. With this keychain, we'll get some test To get a keychain, the simplest way is to use the `stacks-cli`. We'll use the `make_keychain` command, and pass `-t` to indicate that we want a testnet keychain. ```bash -npx @stacks/cli make_keychain -t 2>/dev/null +npx @stacks/cli make_keychain -t 2>/dev/null | json_pp > keychain.txt ``` -After this runs, you'll probably see some installation logs, and at the end you should see some JSON that looks like this: +After this runs, you should see some JSON in the new `keychain.txt` file that looks like this: ```json {