2. Deploy Application

Overview

This page details the steps to deploy the core platform services and reference applications.

The steps here can be used to deploy:

  • DIGIT core platform services

  • Health Campaign Management

Pre-requisites

  1. DIGIT uses golang (required v1.13.3) automated scripts to deploy the builds onto Kubernetes - Linux or Windows or Mac

  2. All DIGIT services are packaged using helm charts Installing Helm

  3. kubectl is a CLI to connect to the Kubernetes cluster from your machine

  4. Install CURL for making API calls

  5. Install VisualStudio IDE Code for better code/configuration editing capabilities

  6. Install Postman to run digit bootstrap scripts

Run Deployer

Once all the deployments configs are ready, run the command given below. Input the necessary details as prompted on the screen and the interactive installer will take care of the rest.

Run the egov-deployer golang script from the health-campaign-devops repo.

## set kubeconfig

cd health-campaign-devops/deploy-as-code/deployer

go run digit_installer.go

All done, wait and watch for 10 min. The DIGIT setup is complete, and the application will run on the URL.

Note:

  • If you do not have your domain yet, you can edit the host file entries and map the ingress-service load balancer id like below

    • When you find it, add the following lines to the host file, save and close it.

    • loadbalancer-cname (IPV4 not accepted)

  • If you have a GoDaddy account or similar and a DNS records edit access you can map the load balancer id to desired DNS. Create a cname record with the load balancer ID and domain.

Last updated

Was this helpful?