Skip to content

hispindia/dhis2-standard-report-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DHIS2 standard report development environment

How to use:

  1. Run yarn install in the root directory.

  2. Create .env file in root directory with content as following example:

    VITE_FONT=<base font>
    VITE_MODE=development
    VITE_BASE_URL=<dhis2 base url>
    VITE_USERNAME=<dhis2 username>
    VITE_PASSWORD=<dhis2 password>
    VITE_REPORT_ID=<dhis2 standard report uid>
    
  3. Create your report inside ./src/reports/ folder

  4. Go to ./src/App.jsx and include the report

  5. Run yarn start for development

  6. To deploy the report to DHIS2, run yarn deploy

  7. To deploy the report to DHIS2, and upload on app-management run yarn build-as-app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published