From dcec2c0656d4fcb4e7713a46e39b1fccae915f2f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 24 Jan 2023 13:41:36 -0800 Subject: readme --- README.md | 6 +----- setup.sh | 3 +++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4e6179ab..9215afae 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,9 @@ This repository contains the code for the API server. The frontend code is at docker. +Make sure you have docker then run the setup script: ```bash -cp -r sampledata data -docker compose up -d -docker run -it -v $(pwd):/app --entrypoint pnpm cs i chmod +x setup.sh ./setup.sh ``` - diff --git a/setup.sh b/setup.sh index d18b5dba..1f527f88 100644 --- a/setup.sh +++ b/setup.sh @@ -1,3 +1,6 @@ +cp -r sampledata data +docker compose up -d +docker run -it -v $(pwd):/app --entrypoint pnpm cs i docker exec -it bc bitcoin-cli createwallet coinos docker exec -it bc bitcoin-cli rescanblockchain docker exec -it bc bitcoin-cli generatetoaddress 500 $(docker exec -it bitcoin bitcoin-cli getnewaddress "" "p2sh-segwit") -- cgit v1.2.3