update readme

This commit is contained in:
Raven Scott 2024-06-15 03:16:15 -04:00
parent 983d88002e
commit 04c677e8e7

View File

@ -35,8 +35,8 @@ This bot system is designed for decentralized chat rooms using the Hyperswarm ne
1. Clone the repository: 1. Clone the repository:
```bash ```bash
git clone <repository_url> git clone https://git.ssh.surf/snxraven/LinkUp-P2P-Chat.git
cd <repository_name> cd LinkUp-P2P-Chat
``` ```
2. Install the dependencies: 2. Install the dependencies:
@ -44,6 +44,17 @@ This bot system is designed for decentralized chat rooms using the Hyperswarm ne
npm install npm install
``` ```
3. Change to bot directory
```bash
cd chatBot
```
4. Run the bot:
```
node bot.js
```
### Configuration ### Configuration
Create a `.env` file in the root directory and add the following environment variables: Create a `.env` file in the root directory and add the following environment variables: