From c9384ff23e12f4e38d2804b6a5fe4f3b46508f8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Wed, 27 Jul 2022 20:16:10 +0200 Subject: [PATCH] chore: update swarm-desktop development with the desktop env (#498) --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4aaecec..1ab2598 100644 --- a/README.md +++ b/README.md @@ -96,12 +96,14 @@ The Bee Dashboard runs in development mode on [http://localhost:3031/](http://lo > Setting the `REACT_APP_DEV_MODE=1` environment variable, or opening Bee Dashboard with the query string `?devMode=1` loosens some checks. This makes it possible to develop Bee Dashboard without having connected peers and chequebook properly set up, effectively supporting the dev mode of Bee itself. -#### Bee Desktop development +#### Swarm Desktop development -If you want to develop Bee Dashboard in the Bee Desktop mode, then spin up `bee-desktop` to the point where you see Bee Dashboard (eq. install Bee etc.) and: +If you want to develop Bee Dashboard in the Swarm Desktop mode, then spin up `swarm-desktop` to the point where you see Bee Dashboard (eq. install Bee etc.) and: ```sh -echo "REACT_APP_BEE_DESKTOP_URL=http://localhost:3000" > .env.development.local +echo "REACT_APP_BEE_DESKTOP_URL=http://localhost:3000 +REACT_APP_BEE_DESKTOP_ENABLED=true" > .env.development.local + npm start npm run desktop # This will inject the API key to the Dashboard ```