- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On macOS/Linux:
source venv/bin/activate
- On Windows:
.\venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
Start Docker Desktop:
- Open Docker.app from Applications
- Wait for it to start (whale icon in menu bar)
- Run the application:
docker-compose up
The application will be available at:
- Flower (Celery monitoring): http://localhost:5555
This repository is intended to serve as a resource for Python developers who are interested in learning about dependency injection and how it can be applied in their projects. Each snippet demonstrates a specific aspect of DI, along with explanations and usage examples.