For the complete documentation index, see llms.txt. This page is also available as Markdown.

Development Environment Setup

Overview

Follow the steps outlined on this page to setup the DIGIT development environment.

Steps

To setup the DIGIT development environment -

  1. Run the Kafka and PostgreSQL on the development machine and re-use other services from the DIGIT development environment. The following tools are required for development:

    • Install Git

      Git for windows

      Git for Linux

    • Install JDK17

      JDK17 for windows

      JDK17 for Linux

    • Install IDE - To create SpringBoot/Java applications it is recommended to use IntelliJ IDE. IntelliJ can be downloaded from the following links -

      IntelliJ for windows

      IntelliJ for Linux

    • Install the Lombok plugins for IntelliJ as we use Lombok annotations in this module.

    • Install Kafka (version 3.2.0 which is the latest version) - To install and run Kafka locally, follow the following links -

      Kafka for windows

      Kafka for Linux

    • Install Postman - To install Postman, follow the following links -

      Postman for windows

      Postman for Linux

    • Install Kubectl - Kubectl is the tool that we use to interact with services deployed on our sandbox environment - kubectl for windows

  2. Add configuration - Post installation of Kubectl, add the following configuration in the Kubernetes config file to enable access to resources in our sandbox environment. Kubernetes config file is available in the user's home directory (which varies from OS to OS).

    For example, on a Mac, it is available at:/Users/xyz/.kube/config

    Once the config file is created, add the following content to it.

Once the configuration file is created, access the pods running in the environment by typing: kubectl get pods

This lists all the pods in the development environment.

Last updated

Was this helpful?