This repository uses Docker Compose for local development and deployment. Below you'll find essential commands and instructions for working with the infrastructure.
- Docker and Docker Compose
- Make
- Start the development environment:
make up
- Start services:
make up
(development) ormake up ENV=production
- Stop services:
make down
- View logs:
make logs SERVICE=<service-name>
- Access shell:
make shell SERVICE=<service-name>
- Restart specific service:
make restart SERVICE=<service-name>
- Run all tests:
make test-all
- Run QA tests:
make run-qa-tests
- Run QA tests in debug mode:
make run-qa-tests-debug
- Run unit tests:
make run-unit-tests
- Run linting:
make lint
- Access MongoDB shell:
make db-shell
- Initialize Terraform:
make tf-init
- Plan changes:
make tf-plan
- Apply changes:
make tf-apply
- Destroy resources:
make tf-destroy
- List running containers:
make ps
- Clean up Docker resources:
make prune
- Restart all containers:
make restart-all
.
├── app/ # Frontend application
├── server/ # Backend server
├── qa/ # QA test suite
└── infra/ # Terraform infrastructure code
- If containers aren't starting:
- Check logs:
make logs SERVICE=<service-name>
- Ensure all required environment variables are set
- Try rebuilding:
make build
- Check logs:
For more detailed commands and options, run:
make help