FAQs

Required setup things? i) Install Vs Code -

VS Code Extension -

ii) Install Node JS -

iii) Install Postman - Postman is the tool we use to hit and test the APIs exposed by various services that we have. To install postman, follow the following links -

2) How to install Yarn?

Install Yarn -

Yarn For Linuxarrow-up-right

npm install --global yarn
yarn --version

3) How To add Globalconfig in Digit UI Environment?

Local Environment: To enable it into local development we need to add the javascript code block of globalconfig.js into the index.html

Path:- micro-ui/web/public/index.html

Link:- https://github.com/egovernments/DIGIT-Dev/blob/master/frontend/micro-ui/web/public/index.htmlarrow-up-right

Script:-

Dev Environment: To enable it in the dev environment we need to add the javascript code block of telemetry into the Path:- DIGIT-DevOps/deploy-as-code/helm/environments/dev.yam

Link:- https://github.com/egovernments/DIGIT-Dev/blob/master/frontend/micro-ui/web/public/index.html arrow-up-right

4) How to Register New Module in Digit UI? Creating config into mdms:-

If you are creating a new module then, first we need to enable that module as true in citymodule.json and update the Module in citymodule.jsonarrow-up-right.

Suppose your module name is BR(Birth-Registration) then change the module and code as BR. and update the citymodule.json file. or

Install Dependencyarrow-up-right 5) In Digit UI Where do we need to add the .env file? Add the .env file in the example folder -

If the User is a citizen then we will configure the .env file as follow:-

If the User is an Employee then we configure the .env as follows:-

6) In Digit UI Where do we need to add the .env file when we run the react app from micro-ui/web?

Add the .env file in the micro-ui/web/src/

Creative Commons License__arrow-up-rightAll content on this website by eGov Foundation arrow-up-rightis licensed under a Creative Commons Attribution 4.0 International Licensearrow-up-right.

Last updated

Was this helpful?