A real-time web chat application built with Django, Redis, and Docker.
You can run this Web Chat Application in two different ways:
- Method 1: Using Docker 🐳
- Method 2: Running directly on your system ⚙️
You can also run the application using a prebuilt private Docker image hosted on GitHub Container Registry (GHCR).
- Pull the Docker image:
docker pull ghcr.io/sagar-ph/webapp:latest- Get the
docker-compose.ymlfile in repo and Update the file:
image: ghcr.io/sagar-ph/webapp:latestNote: Remove or comment out build: . if present.
- Start the application:
docker compose upThis will pull and run all required services in Docker containers.
gh repo clone Sagar-PH/WebChat-App- Make sure Docker is installed on your system.
- Open a terminal in the project directory.
- Build the Docker image:
docker build -t webchat-app .This command will build and create a Docker image for the project.
- Python 3.x
- Redis Server
- Install and start the Redis server.
- Open a terminal in the project directory.
- Install project dependencies:
pip install -r requirements.txt- Run the Django ASGI application:
daphne webchat.asgi:application🎉 The Web Chat Application is now running!
Made by Sagar