This document outlines the process for deploying the application to the production environment. Before proceeding, ensure all pre-requisites are met as detailed in the prerequisites document.
NOTE: For cloud providers, only DigitalOcean is supported.
- Terraform >= 1.8.2
- Ansible >= 2.17.8
- Make
deploy.shexecutable:
chmod +x deploy.sh- Insert necessary variables into
./terraform/terraform.tfvars: You can find the variable definitions in the./terraform/variables.tffile. - Uncomment the required variables and insert the appropriate values in the
./playbooks/site.yamlfile. - Install playbooks' collections:
ansible-galaxy install -r requirements.yaml- Run the deploymant script
./deploy.sh