From da1a16072e77d9f007d45991a0b8136de9d82ca5 Mon Sep 17 00:00:00 2001 From: ndungudedan Date: Wed, 2 Oct 2024 23:44:20 +0300 Subject: .env fix and Readme update --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index f7dab808..414f39af 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,16 @@ Coinos is a web-based bitcoin and nostr client. You can use it as a front end to To get started, clone or download the repo, then: - pnpm install - pnpm run dev +1. Create a `.env` file and copy the contents of `.env.production` into it. +2. Install the dependencies and run the app: + + ```sh + bun install + bun run dev + ``` You'll need to run [`coinos-server`](https://github.com/coinos/coinos-server) as well +# Docs + +Checkout the API documentation at: http://localhost:5173/docs \ No newline at end of file -- cgit v1.2.3 From ba649c364fda4ce34ef4b917635f36a76c1e9058 Mon Sep 17 00:00:00 2001 From: ndungudedan Date: Thu, 3 Oct 2024 10:35:59 +0300 Subject: .env fix and Readme update --- .env.production | 2 +- .env.sample | 1 + .gitignore | 3 +-- README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/.env.production b/.env.production index d47ae827..9bceaa7a 100644 --- a/.env.production +++ b/.env.production @@ -6,4 +6,4 @@ PUBLIC_LIQUID_EXPLORER=https://liquid.network PUBLIC_DOMAIN=coinos.io PUBLIC_COINOS_PUBKEY=ba80990666ef0b6f4ba5059347beb13242921e54669e680064ca755256a1e3a6 PUBLIC_COINOS_RELAY=wss://relay.coinos.io -PUBLIC_COINOS_NETWORK=regtest \ No newline at end of file +PUBLIC_COINOS_NETWORK=bitcoin \ No newline at end of file diff --git a/.env.sample b/.env.sample index c1a75688..8474ee0a 100644 --- a/.env.sample +++ b/.env.sample @@ -7,3 +7,4 @@ ORIGIN=http://localhost:5173 PUBLIC_DOMAIN=localhost:5173 PUBLIC_COINOS_PUBKEY=ba80990666ef0b6f4ba5059347beb13242921e54669e680064ca755256a1e3a6 PUBLIC_COINOS_RELAY=wss://relay.coinos.io +PUBLIC_COINOS_NETWORK=regtest \ No newline at end of file diff --git a/.gitignore b/.gitignore index 34dc6959..0ec58269 100644 --- a/.gitignore +++ b/.gitignore @@ -6,5 +6,4 @@ node_modules .env android ios -.history/ -pnpm-lock.yaml \ No newline at end of file +.history/ \ No newline at end of file diff --git a/README.md b/README.md index 414f39af..db6016ad 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Coinos is a web-based bitcoin and nostr client. You can use it as a front end to To get started, clone or download the repo, then: -1. Create a `.env` file and copy the contents of `.env.production` into it. +1. Create a `.env` file and copy the contents of `.env.sample` into it. 2. Install the dependencies and run the app: ```sh -- cgit v1.2.3