Run Application

Overview

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.

Steps

git clone https://github.com/egovernments/DIGIT-Works.git

  1. 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"

  1. 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

  1. Enable the desired device or browser to run the application using the command - flutter run: To start the application

  1. Access the Flutter development tools for debugging purposes from the link in the terminal.

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.