From d8e2d0bf12cc31529460c0334fa550a6cd3cd7ed Mon Sep 17 00:00:00 2001 From: lemmih Date: Fri, 6 Dec 2024 13:21:56 +0100 Subject: [PATCH 1/2] document how to deploy the forest explorer on a clean CloudFlare account --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index b701ef8..207aecd 100644 --- a/README.md +++ b/README.md @@ -23,3 +23,10 @@ Running `npx wrangler@latest dev` will spawn a local copy of the explorer. - [wrangler](https://github.com/cloudflare/wrangler2) - [wasm-pack](https://github.com/rustwasm/wasm-pack) - [worker-build](https://github.com/cloudflare/workers-rs/tree/main/worker-build) + +# Custom deployments + +To deploy to a new CloudFlare account, change `account_id` in `wrangler.toml`, +set `SECRET_WALLET` and `SECRET_MAINNET_WALLET` using `npx wrangler@latest secret put` +(values are exported private keys, see `forest-wallet export`), and run +`npx wrangler@latest deploy`. From 119971cc337bcff405568fc3e1a5746577877286 Mon Sep 17 00:00:00 2001 From: lemmih Date: Fri, 6 Dec 2024 16:01:33 +0100 Subject: [PATCH 2/2] pretty print README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 207aecd..4470b71 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,6 @@ Running `npx wrangler@latest dev` will spawn a local copy of the explorer. # Custom deployments To deploy to a new CloudFlare account, change `account_id` in `wrangler.toml`, -set `SECRET_WALLET` and `SECRET_MAINNET_WALLET` using `npx wrangler@latest secret put` -(values are exported private keys, see `forest-wallet export`), and run -`npx wrangler@latest deploy`. +set `SECRET_WALLET` and `SECRET_MAINNET_WALLET` using +`npx wrangler@latest secret put` (values are exported private keys, see +`forest-wallet export`), and run `npx wrangler@latest deploy`.