All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.
Once the development environment setup is completed, we have to run the application locally. This document provides steps on how to run the works_shg_app on a local device.
Clone the repo https://github.com/egovernments/DIGIT-Works
git clone https://github.com/egovernments/DIGIT-Works.git
To run the application in the local environment, add the .env
file in the root folder of the project (frontend/works_shg_app
)-
Sample .env config:
BASE_URL='https://works-dev.digit.org/'
MDMS_API_PATH='egov-mds-service/v1/_search'
GLOBAL_ASSETS='https://works-dev.digit.org/works-dev-asset/worksGlobalConfig.json'
ENV_NAME="DEV"
Run the below commands in your terminal from the root of the project (frontend/works_shg_app)
flutter clean: To clean the build cache.
flutter pub get: To install the dependencies packages
Enable the desired device or browser to run the application using the command - flutter run: To start the application
Access the Flutter development tools for debugging purposes from the link in the terminal.