UI Build Preparation For New Instance
UI build preparation details for central instance
Last updated
UI build preparation details for central instance
Last updated
All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
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.
Code Path:
A global configuration file should be generated for each instance. Example: UAT instance s3 bucket file Path:
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’.
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.
Change the “footerBWLogoURL” value as per instance requirements; in this instance, it should be ‘''’ (this is s3 link for footer image).
Change the “footerLogoURL” value as per instance requirements; for this instance, it is ‘''’ (this is the s3 link for footer image).
The DevOps team generates this file as part of the new instance creation process. Finally, the file path is incorporated into the environment folder within the DevOps repository. Example: DIGIT UI repo path: UAT File Path: These details are essential for the creation of a new instance build.
Activate the modules by utilizing the MDMS configuration, toggling the parameters to either "true" or "false." MDMS file path of UAT: