From 4fab5771e82be4e19e17314923871c764e3b3ee3 Mon Sep 17 00:00:00 2001 From: Ayush <99096397+ayush4345@users.noreply.github.com> Date: Sun, 8 Sep 2024 20:03:44 +0530 Subject: [PATCH] Update README.md --- README.md | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ef68c0..cf87d1e 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,41 @@ To get started with Deano, follow these steps: ### Install the Next.js Frontend -1. Change directory to client by `cd client` +1. Change directory to client by `cd dashboard` 2. Install npm packages by running `npm i` -3. Start the dev server by running `npm run dev` +3. setup env variable according to .env.example file +4. Start the dev server by running `npm run dev` + +### Setup backend for lit protocol + +1. Change directory to client by `cd backend` +2. Install npm packages by running `npm i` +3. setup .env file which will have env variable `PRIVATE_KEY`, which will be your Ethereum wallet address +4. Start the dev server by running `npm start` + +### Follow these steps to set up message kit for XMTP: + +1. Navigate to the project directory: + ```sh + cd ./message-kit + ``` + +2. Install dependencies: + ```sh + npm install + ``` +3. Set up these variables in your app + +```sh +KEY= # 0x... the private key of the app (with the 0x prefix) +REDIS_CONNECTION_STRING= # redis db connection string +MSG_LOG=true # logs the message on the console +``` + +4. Run the project: + ```sh + npm dev + ``` ## Team Members