Skip to content

Commit

Permalink
Merge pull request #15 from nowgnuesLee/feature/backend/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nowgnuesLee authored Jan 2, 2025
2 parents 850c721 + 49285b5 commit 3fd9cbf
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions chat-server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Chat Server
A chat server developed using aiohttp, asyncio, and Redis.
## Getting Started
We are currently using Python version 3.12.6. Since Redis is being used, Redis installation is required.
### Installation With pip
``` bash
pip install -r requirements.txt
```
### Run Server
``` bash
python server.py
```
## Env
```
HOST=SERVER_HOST
PORT=SERVER_PORT
REDIS_HOST=REDIS_HOST
REDIS_PORT=REDIS_PORT
MAX_PROCESSES=NUMBER_OF_PROCESSES
ROOM_NAME=ROOM_NAME
```
## Simulation
You can interact with the running chat server through client.py. You can run multiple clients to simulate a scenario with multiple clients.
### Run Client
```bash
python client.py
```

0 comments on commit 3fd9cbf

Please sign in to comment.