Requires: docker
- Navigate to root of repository:
cd path/to/repository - Build docker image:
docker compose build
- Run container:
docker compose up
- Reached at:
- Api: localhost:5000.
- Web app: localhost:5001.
Requires: Terraform
-
Make sure a valid terraform.tfvars is in the ./infra directory
-
Navigate to the ./infra directory:
cd path/to/repository/infra -
Deploy:
terraform init terraform plan terraform apply
Deploy will only run automatically when there's been pushed directly to main.
Releases are only made once there has been pushed with a tag. Create a release like this:
git tag v1.0.0
git push origin v1.0.0Tag must begin with v (fx v1.2.3). Pushing with a tag will not trigger deploy.