LetsMesh / Site

Repository for the Website named Let's Mesh
https://letsmesh.vercel.app
6 stars 2 forks source link

Implement Docker Setup #321

Closed blu3eee closed 1 month ago

blu3eee commented 5 months ago

Implement Docker Setup for Django-React Integration

Objective

Create a Docker setup for running the Django backend and React frontend.

Background

Our current separate running of Django and React leads to environment inconsistencies and have to install the environment locally. Dockerizing both can streamline development and setup processes.

Requirements

  1. Docker Configuration: Create a Dockerfile and docker-compose.yml to:
    • Run Django with Daphne as the ASGI server.
    • Serve the React frontend, ensuring communication with the backend.
  2. Environment Variables: Implement necessary variables for Django and React.
  3. Documentation: Update README with Docker setup instructions.
  4. Testing: Validate that both Django (including WebSocket functionality) and React work in the Docker environment.