Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 812 Bytes

File metadata and controls

27 lines (21 loc) · 812 Bytes

Deployment Guide

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.

Pre-requisites

  • Terraform >= 1.8.2
  • Ansible >= 2.17.8

Deploy

  1. Make deploy.sh executable:
chmod +x deploy.sh
  1. Insert necessary variables into ./terraform/terraform.tfvars: You can find the variable definitions in the ./terraform/variables.tf file.
  2. Uncomment the required variables and insert the appropriate values in the ./playbooks/site.yaml file.
  3. Install playbooks' collections:
ansible-galaxy install -r requirements.yaml
  1. Run the deploymant script
./deploy.sh