UI Build Preparation For New Instance
UI build preparation details for central instance
Overview
This page offers comprehensive instructions on preparing the UI build for the central instance. Follow the steps outlined in the respective sections below to successfully configure this setup.
Steps
Code Path: egovernments/DIGIT-Dev
Step 1. Generate Global Configuration File
A global configuration file should be generated for each instance. Example: UAT instance s3 bucket file Path: https://s3.ap-south-1.amazonaws.com/egov-uat-assets/globalConfigs.js
Add the below content to this file.
In this file -
Change the “stateTenantId” value as per instance; in this instance, it should be ‘pg’.
Change the “finEnv” value based on the specific instance; in this instance, it should be ‘uat’.
Change the “footerBWLogoURL” value as per instance requirements; in this instance, it should be ‘'https://s3.ap-south-1.amazonaws.com/egov-uat-assets/digit-footer-bw.png'’ (this is s3 link for footer image).
Change the “footerLogoURL” value as per instance requirements; for this instance, it is ‘'https://s3.ap-south-1.amazonaws.com/egov-uat-assets/digit-footer.png'’ (this is the s3 link for footer image).
Modify the "digitHomeURL" according to the instance requirements; in this instance, it should be set to "Coming Soon."
Change the "assetS3Bucket" value based on the specific instance; in this case, it should be set as "pg-egov-assets."
To modify the Google Maps key, you should make the necessary changes in the "gmaps_api_key" field.
If the "centralInstanceEnabled" parameter is configured as "false," the default behaviour of the logic will be active in the UI. Conversely, if the "centralInstanceEnabled" parameter is configured as "true," the central instance logic will come into effect.