- Docker
- Docker Compose
-
Clone the Repository
git clone https://github.com/yourusername/smart-canteen.git cd smart-canteen
-
Build and Start the Docker Containers
docker-compose up -d
-
Access the Application
Open your browser and go to
http://localhost:8000
.
- Django: Available at
http://localhost:8000
- RabbitMQ: Management UI available at
http://localhost:15673
(username:user
, password:password
) - Celery: Celery worker logs can be viewed using Docker Compose logs command.
You can view the logs for each service in separate terminals:
-
Django Server Logs
docker-compose logs -f web
-
Celery Worker Logs
docker-compose logs -f celery
-
RabbitMQ Logs
docker-compose logs -f rabbitmq
To stop the containers, run:
docker-compose down